Forum Discussion
Thihan_Lin
Jun 28, 2024Copper Contributor
Getting full url path of nested folders and file inside "Dcouments" in a sharepoint site
I'm using Flow to get the full path of nested folders and files inside "Documents" in a SharePoint site.
The ultimate goal is to verify which paths are more than the character limit of Microsoft.
It is a simple flow, but the thing is, I'm not getting a folder path under the "Document" folder, but I'm getting a path under "Shared Document".
As per the org requirement, I could not disable the shared document feature in SharePoint.
Is there a way to do it? (I don't mind to use flow or PNP script )
1 Reply
Sort By
- I would recommend you just use Graph API!
It's literally oneline:
https://graph.microsoft.com/v1.0/sites/siteId/drive/root:/Folder1:/children
And you should get it under weburl