Forum Discussion
Unable to get data from Sharepoint online List
Hi sdeoghar,
Based on my understanding, you are trying to connect to SharePoint online list via OData feed data source type in the Power BI Desktop but get errors, right?
Based on my test, when we connect to SharePoint online list use OData feed, 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://microsoft.sharepoint.com/teams/Qiuyun01/Lists/list01, then we need to specify the OData URL like this:
In your scenario, please check if the URL is correct. And type the URL without copy and paste. In addition, in Power BI Desktop, there is a OOTB data source type for us to retrieve SharePoint online list, it's SharePoint Online List data source. See:
If you have any question, please feel free to ask.
Best Regards,
Qiuyun Yu
Thank you very much for your wonderful reply.
I tried doing as you said and modified my URL with prefic to it as " _vti_bin/listdata.svc" but I am still getting the same error.
I am using sharepoint 2010, so is there anything to do with version.
Also to modify the URL , do we have to anything from backend or just type the original URL with adding "vti_bin/listdata.svc" at the end and hit connect.
Please advise.
- sdeoghar10 years agoFrequent Visitor
Hi,
I tried doing as you suggested, but I am still unable to cinnect. I get the same error.
Shivjeet
- trebgatte10 years ago
Most Valuable Professional
See this article for more information on using REST with SharePoint 2010. https://msdn.microsoft.com/en-us/library/ff798339.aspx
Treb Gatte | Business Solutions MVP | Power BI Recordings | @tgatte | Blog
- v-qiuyu-msft10 years ago
Community Support
Hi sdeoghar,
As you can see from my original post, the URL of the SharePoint online list is this: https://microsoft.sharepoint.com/teams/Qiuyun01/Li
sts/list01, site name is Qiuyun01, then I append " _vti_bin/listdata.svc" after site name to compose the OData URL: https://microsoft.sharepoint.com/teams/Qiuyun01/_vti_bin/listdata.svc. In your scenario, please also append the " _vti_bin/listdata.svc" after site name to see if the issue persists.
Did you try to connect to SharePoint Online list follow the steps in my orignal reply?
Best Regards,
Qiuyun Yu