Get all Files in a folder using Microsoft Graph API

Giri 21 Reputation points
2020-06-22T13:19:53.057+00:00

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 Monitored
Not Monitored
Tag not monitored by Microsoft.
35,986 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful