Hi @Tom Magyar ,
Please refer to this related post.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need
privileges with admin consent for my application (running as a scheduled background service) to be able to access (read) files stored on SharePoint and OneDrive
The application works perfectly (with the latest MsGraph API), but in production running at a larger organization, we'd like to limit it's privileges scope to only access certain users' SharePoint and OneDrive storages, similarly to limiting access
How can it be configured?
Hi @Tom Magyar ,
Please refer to this related post.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".
Hi @Tom Magyar Since Graph does not specify any functions that can be accessed by special users, I think the only thing that can be done is to set it on the sharepoint or onedrive side. The following are the relevant setting reference documents I found, I hope this can help you.
Limit OneDrive access by security group: https://learn.microsoft.com/en-us/onedrive/limit-access
Block access to SharePoint for specific users: https://learn.microsoft.com/en-us/microsoftteams/block-access-sharepoint
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.