question

Giri-8942 avatar image
0 Votes"
Giri-8942 asked azure-cxp-api edited

Get all Files in a folder using Microsoft Graph API

Requirement - Need to access a particular File within a Document Library

File Path - host-name/sites/sitename/Shared Documents/Folder1/File1


I tried with these

https://graph.microsoft.com/v1.0/sites/{host-name}/sites/{site-id}:/drives
- Got all the Document Library in that site

https://graph.microsoft.com/v1.0/sites/{host-name}/sites/{site-id}:/drives/{drive-id}/root/children

Tried with the above getting error, Bad request.

I am new to MS Graph, Not sure where I am going wrong. Any help will be highly appreciated.

not-supported-azure
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

tbgangav-MSFT avatar image
0 Votes"
tbgangav-MSFT answered

Hi @Giri-8942,

Thanks for reaching out! SharePoint Site related is not currently supported here on QnA. They're actively answering question in dedicated forums here.

https://techcommunity.microsoft.com/t5/sharepoint/ct-p/SharePoint


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.