Forum Discussion
Issue with retrieving a data from Office 365 library through Sharepoint API
Hi Team,
Good Evening!
I have faced some issue with retrieving a data from Office 365 library. As we are succeeding to get a count of items within the folder, but not able to get files\folders from the library.
ISSUE:
1. Access Denied, but i have used super administrative access credentials.
2. Not access denied but the result will not come. - Some Time
Below are the API which I am trying to hit:
"https://<Server Name>/sites/<Subsite Name>/_api/web/GetFolderByServerRelativeUrl('<Library Name>')"
Also, I need to get the folder details within folders to a library.
Office 365 Library structure like: Library Name
(Document Library)"Project" > Folder 1 > folder Test1
> Folder 2 > folder Test2
> Folder 3 > folder Test3
https://accounts.accesscontrol.windows.net/90fe52ba-b99b-4b89-8b47-ff66d5ddfc17/tokens/OAuth/2
Please help me out
1 Reply
- Deleted
maybe this helps you https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest