Is it possible for a daemon app (app only, no authenticated user) to access SharePoint Online content via the Microsoft Graph API? If not, what are my options?
I tried:
https://graph.microsoft.com/v1.0/drives/<id>
But got access denied.
Accessing drive in Office 365 Groups works via:
https://graph.microsoft.com/v1.0/groups/<id>/drive
This is how I retrieve the authorization token:
https://login.microsoftonline.com/<tenant id>/oauth2/token
resource=https://graph.microsoft.com
grant_type=client_credentials
client_id=<client id>
client_secret=<client secret>