question

ZaccoloAlessandroBip-8880 avatar image
0 Votes"
ZaccoloAlessandroBip-8880 asked

Access Denied Microsoft Graph with Site.Selected Permission

We are building an app in Java to download and upload files from a Sharepoint Site using the Microsoft Graph SDK.

As we want the application to interact only with a Sharepoint Site, we created an Application Id with:
- Roles: read and write
- Permission: Site.Selected


Although we are able to create a new folder with this setup, we are receiving a access denied error when trying to download a file.

Below you can see a snapshot of our code.

93996-graph-error.png




Please let me know if you need any more information to help solve this bug

microsoft-graph-sdk
graph-error.png (118.8 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers