Share via

microsoft graph login without user interaction, minimal permissions

Mario González 41 Reputation points
2022-09-21T13:37:07.053+00:00

I want to do a login without user interaction, so I need application permissions instead of Delegated permissions.
The problem is that seems that for give access to read only a file in a folder, I must add permissions to All (Files.Read.All), but I need to give permissions only to a specific path.
it this possible?

Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

Bhanu Kiran 3,616 Reputation points
2022-09-22T00:54:25.093+00:00

Hello @Mario González ,

You can grant Microsoft Graph applications access to specific site collections. Using Sites.Selected along with the Sites permissions endpoint in Microsoft Graph allows you to set the specific site collections and access level you want to grant to individual applications.

Please refer to this post for detailed information:
https://learn.microsoft.com/en-us/answers/questions/698849/index.html

Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it ,so that it will be helpful to the other community users. If you have any further questions about this answer, please click "Comment".

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.