Forum Discussion
TheBestBirth
Jun 25, 2021Copper Contributor
How to get Tree folder structure in SharePoint??
Hi All, Hope you are safe and doing fine I am struggling to get the following scenario to work in SharePoint. I have a csv file like this: Directory Name --------- ...
Kang_Wang
Jun 29, 2021Copper Contributor
you can use Microsoft Graph API,
it will return folder structure
https://graph.microsoft.com/v1.0/groups/{group -id}/drive/root/search(q='')
it will return folder structure
https://graph.microsoft.com/v1.0/groups/{group -id}/drive/root/search(q='')
- Brody40Oct 11, 2022Copper Contributorif my documents are stored in sharepoint, I have questions as below:
1. how can i find the goup-id?
2. /dirve/root/ can be replace by my own created directory in sharepoint?