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
GarethWoodhouse
Resolver I
Resolver I

Getting data from SharePoint Online?

I have an excel online file stored in a sharepoint 365 document library.

I have read a few posts that said I should get data from a Sharepoint Folder and enter the Sharepoint site URL However when I do this by entering https://<companyname>.sharepoint.com/sites/<sitename>/  I do not get a box asking for authorisation details and instead get "Access to the resource is forbidden".

 

Am I doing something wrong or do we think it's a Sharepoint permissions thing?

 

Thanks.

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @GarethWoodhouse,

 

Based on my test, we can connect to SharePoint online list use OData feed to work aorund, we need to append _vti_bin/listdata.svc at the end of site URL. For example, the URL of the SharePoint online list is this: https://xxxx.sharepoint.com/teams/test/Lists/list01, then we need to specify the OData URL like this:

 

3.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @GarethWoodhouse,

 

Based on my test, we can connect to SharePoint online list use OData feed to work aorund, we need to append _vti_bin/listdata.svc at the end of site URL. For example, the URL of the SharePoint online list is this: https://xxxx.sharepoint.com/teams/test/Lists/list01, then we need to specify the OData URL like this:

 

3.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

excuse me, but I had the same trouble with GarethWoodhouse. 

When I use the _vti_bin/listdata.svc behind https://xxxx.sharepoint.com/site/sitename/Lists/list01 by Odata,the message is like below:

Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
OData Version: 3 and 4, Error: The remote server returned an error: (400) Bad Request. (Bad Request)
OData Version: 4, Error: The remote server returned an error: (400) Bad Request. (Bad Request)
OData Version: 3, Error: The remote server returned an error: (400) Bad Request. (Bad Request)"

 

And if I use this behind https://xxxx.sharepoint.com/site/sitename/  the message still showing "Access to the resource is forbidden."

Is it because that I didn't signin to the PowerBI Desktop or is there something I had done wrong?

 

Thanks.

Greg_Deckler
Community Champion
Community Champion

Sounds like a permissions issue. Which connector are you using?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Using the SharePoint Folder connector.

I assumed that was the one to go for given what I need isn't in a sharepoint list.

I'll speak to someone internally here to see if we can poke around in the SharePoint permissions.

Thanks.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.