web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Import Excel data to S...
Power Automate
Unanswered

Import Excel data to SQL table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I am working on an PowerApps applicaiton, my requirement is app should have feature to read excel file uploaded by user and insert the data into SQL table.

As a first step I am uploading excel file to sharepoint and in next step want to read file content and insert in SQL table. 

The challenge is excel file I receive from external source doesn't have any tables defined. I could not find any way to directly get rows from excel without reading table.

 

Please suggest how can I read rows in excel where tables are not defined and insert into SQL table. Also suggest if there is any other approach to achieve my goal.

 

Thanks,

Sujanakar Reddy

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: Import Excel data to SQL table

    hi @sujan  maeby this post is going to help you.

     

    https://sharepains.com/2018/10/17/microsoft-flow-read-large-excel-files-within-seconds-without-creating-tables-using-microsoft-graph/

     

    You can read everyting

  • sujan Profile Picture
    Microsoft Employee on at
    Re: Import Excel data to SQL table

    Thanks for the response Christian.

     

    I referred to the post, can you help me understanding what does 'Tenant ID', 'Client Id' and 'Secret' refers to. 

     

    Thanks,

    Sujanakar Reddy

  • v-litu-msft Profile Picture
    on at
    Re: Import Excel data to SQL table

    Hi @sujan,

     

    Maybe you could have a try to import the Excel data by using MS Graph, then transform it the output array and format it.

    There is a similar post you could refer to, this user gave an idea about it, hope it could help you:

    https://powerusers.microsoft.com/t5/Building-Flows/Nested-Array-after-reading-a-XLS-worksheet-with-MS-Graph/m-p/491975

     

    And you could refer to this document about working Excel file with MS Graph:

    https://docs.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard