Access SharePoint Sites/files using MS Graph API via AAD App registration
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-collection/f3e79c7c6c7ea431f348
https://login.microsoftonline.com/{{Tenantid}}/oauth2/token
Get SharePoint site via MS Graph API
https://graph.microsoft.com/v1.0/sites?search={sitename}
copy site id
Get SharePoint files via MS Graph API
https://graph.microsoft.com/v1.0/sites/{{siteid}}/drive/root:/{filename}