Reading a file from a SharePoint site using only app-to-app consent

Highlighted
Occasional Visitor

Hello everyone,

 

I'd like to access (read) a file using it's full URI (e.g. 

https://mydomain-my.sharepoint.com/personal/jhonny_mydomain_com/Documents/myfile.xlsx

I added the application permission "Read items in all site collections" both under the "Office 365 SharePoint Online" app and the "Microsoft Graph" app.

 

But, attempting to read any file by it's url using the Graph API, I'm unable to reach those user folders.

 

 

0 Replies