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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Advocate I
Advocate I

Get data into Power BI Desktop from Sharepoint Server 2013 On-Premises folder



Using latest version of Power BI Desktop, and seeking guidance on the correct method for connecting to several excel files located on sharepoint intranet location.  The organization is running sharepoint server 2013 on premises, so the address of the files is something like this: 




I've not had luck with Sharepoint.Files or Web.Contents, including the approaches suggested at the two links below:


Any specific recommendations re: method (Sharepoint.FilesWeb.Contents, Folder.Files?), which level of the Sharepoint site to connect at, and what account settings to specify?  Can this be done at all? To my knowledge there is no gateway configured yet. Is this a prerequisite, or are gateways moot when using pbi desktop?


Thanks in advance for any guidance!

Frequent Visitor

Have you found a solution yet?


I am also trying to extract Data from multiple excel sheets all saved in one on premise sharepoint 2013 folder, however now luck. I am only able to connect to one excel sheet at a time...

Community Support
Community Support

Hi @gwp,


Does this Power BI desktop run on the same machine as SharePoint server? When you follow the option suggested by v-yuezhe-msft in this thread, is there any error throws out?


Best Regards,


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

I'm sorry, we were getting a variety of different errors depending on what url/level of SP we tried to connect at, whioch credentials setting we selected, and which PQ methods we were using. I didn't keep track of the various errors.


We ultimately wound up getting it to work like this, Source = Excel.Workbook(Web.Contents("http://xxx/yyy/zzz/abc.xlsx"), null, true), using Windows authentication.

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors