Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rjhale
Helper IV
Helper IV

Import Excel File From SharePoint using Rest API

I've created a custom connector in Microsoft Flow to interface directly with Power BI using the Power BI OpenAPI definition.  https://github.com/Microsoft/PowerBI-CSharp/blob/master/sdk/swaggers/swaggerV2.json

 

I'm attempting to import an Excel file that sits in one of our SharePoint sites, but I'm having problems with the Post Import syntax.  Can anyone provide an example of how the body json should be constructed when Posting an Import?  I'm not sure which parameters need to be included and what the difference between filePath and fileURL as it relates to these parameters.

 

Any help getting this working would be much appreciated.  

 

 

1 REPLY 1
rjhale
Helper IV
Helper IV

I could really use some help figuring out what the body of the Post Import action is supposed to look like when importing an Excel file.  Do I need to include connectionType, filePath, and fileURL?  If so, I'm not entirely sure what a shared access signature url is?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.