Access SharePoint Sites/files using MS Graph API via AAD App registration

Опубликовано: 10 Декабрь 2022
на канале: M365 Tech Help
57,940
609

This video explains how to provide access to SharePoint files/items access to External Applications/tools using MS Graph APIs.

Use Postman collection to get AAD token json - https://app.getpostman.com/run-collec...
https://login.microsoftonline.com/{{Tenantid}}/oauth2/token

Get SharePoint site via MS Graph API
https://graph.microsoft.com/v1.0/site...{sitename}
copy site id

Get SharePoint files via MS Graph API
https://graph.microsoft.com/v1.0/sites/{{siteid}}/drive/root:/{filename}