Forum Discussion
Fetch metadata from SharePoint Online document libraries
(I posted this already but wasn't signed in and can't find the post to delete it)
So, I'm trying to fetch custom metadata from around 50+ SharePoint Online document libraries. Here's my findings so far:
- SharePoint.Files and SharePoint.Contents connectors only fetch limited metadata
- SharePoint.Tables version 1.0 works but requires a lot of drilldowns on columns like FieldValueAsText. When I tried to execute the query for 1 library, it ran for about 3 hours before I decided to just kill it. Too slow.
- SharePoint.Tables version 2.0 might work, and it cleanly loads all the metadata I want, but it only renders the contents of the top-level folder.
- OData connector doesn't work and renders an authentication error.
I've tried searching far and wide, and have had zero luck. Can anyone provide any recommendations?
4 Replies
- AnonymousNot applicable
Hi Anonymous
I found a post shows an article about getting the data from SharePoint in Power BI.
I hope it could help you: Power BI - Get Data From SharePoint List / Library
And you may refer to this blog: Create a report on a SharePoint List
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Thanks for the response, but I already know how to get data from a SharePoint list the conventional ways. I'm asking if there's a method that doesn't take HOURS to refresh. And as I mentioned, the OData connector always tells me I'm not authorized, even though I clearly am.
- AnonymousNot applicable
Hi Anonymous
To develop your report in your desktop, you may refer to this blog :VERY slow refresh in Desktop
For OData connector Error, you may refer to this blog: Project Online oData with oAuth connection - The User Was Not Authorized
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.