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
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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

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
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.