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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jeanxyz
Impactful Individual
Impactful Individual

how to find root url of a sharepoint folder

I need to add a sharepoint folder to a gateway, 

 

below is the url I extract from an Excel file stored in that folder

https://XXXXXXXX.sharepoint.com/sites/SharedCollaborationPlatform/People%20%20General/RESOURCE%20COS...

 

I try to add the following root url to the gateway, but was told there is a Data Source Error. I have access to the 2022 sub-folder, so it's not a permission issue.

https://XXXXXXXX.sharepoint.com/sites/SharedCollaborationPlatform/People%20%20General/RESOURCE%20COST/2022

 

How to get the correct root URL for this folder?

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

Hi, @Jeanxyz 

As mentioned by @SpartaBI , you should use https://XXXXXXXX.sharepoint.com/sites/SharedCollaborationPlatform

in order to connect to you site.

For more details, please refer to this official blog.

Combining Excel Files hosted on a SharePoint folder with Power BI 

 

In order to use the correct URL, we need to be in the folder of the data that we’re trying to get and check the url that our browser shows. If it has the if it starts with the format of https://<site address>/sites/<sitename>/ then we need to use that url, otherwise we use the much simpler https://<site address>

Best Regards,
Community Support Team _ Eason

I don't have full access to this site, therefore I cannot access https://XXXXXXXX.sharepoint.com/sites/SharedCollaborationPlatform. I only have access to folder: Resource Cost/2022. 

Hi, @Jeanxyz 

Besides, I'm not sure what you mean by 'I need to add the sharepoint folder to the gateway'.

If your data source is in the cloud, you do not need  gateway to refresh the data.

 

Best Regards,
Community Support Team _ Eason

Hi, @Jeanxyz 

For a single excel file on sharepoint, you can consider using the web connector directly for data access.

Please refer to below tutorials.

Youtube: How to get data from SharePoint excel file in Power BI? 

Use OneDrive for Business links in Power BI Desktop 

 

Best Regards,
Community Support Team _ Eason

SpartaBI
Community Champion
Community Champion

try to cut everything after CollaborationPlatform/

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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