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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
junkpwan
New Member

Can it be done?! Querying files stored in SharePoint from a table of SharePoint site URLs.

Hey all, this one is truly baking my noodle.

 

We have annual reports (.xlsx) for customers shared on different SharePoint sites.

 

We want to combine some tables stored in those files. The files all have an identifier in them, to help pick them out from the site contents.

 

We also have a directory stored in an excel table of all those sites' urls (https://company.sharepoint.com/sites/companyA, B, C...  etc).

 

Can we build something dynamic that queries all those sites from the directory, therefore meaning that when we win / lose customers, we can amend the directory rather than the queries?

 

1 ACCEPTED SOLUTION

Use separate queries per site.

View solution in original post

4 REPLIES 4
junkpwan
New Member

This sounds ideal.  We've given it a whirl and are coming across this hurdle:

To be able to search through those folders, we need access to the parent folder https://company.sharepoint.com/sites/

 

Issue is, that we don't have access to that it seems.

 

Here's the error we get:

Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
OData Version: 3 and 4, Error: The remote server returned an error: (404) Not Found. (404 FILE NOT FOUND)
OData Version: 4, Error: The remote server returned an error: (404) Not Found. (404 FILE NOT FOUND)
OData Version: 3, Error: The remote server returned an error: (404) Not Found. (404 FILE NOT FOUND)"

Use separate queries per site.

Thanks Ibendlin, that was our plan B, then amend the queries and appended table with customer losses and wins.

lbendlin
Super User
Super User

Yes, that is a standard pattern. Use the "SharePoint Folders"  connector, filter for the files you want to ingest, and then write your ingestors and use them in Table.AddColumn  before combining the results.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.