Limit access to groups or individual mailboxes using a service application in Azure Ad

試著忘記壹切 提交于 2019-12-18 05:17:21

问题


I have an Azure integrated service application (daemon app) with permissions to the Microsoft graph api, I can now read all the mailboxes for the entire company, which is awesome but might raise some concerns with the business management. We use Outlook in Office 365.Is there a way to specify mailboxes that the app can have access to instead of having access to all mailboxes/users.


回答1:


The daemon app which use the client credential to acquire the access token.

The client credential flow is used to as an authorization grant typically when the client is acting on its own behalf. And it is not able to specify mailboxes that the app can have access.

You can achieve this by implement the business logic in the daemon app.




回答2:


This Microsoft doc appears to give the answer Scoping application permissions to specific Exchange Online mailboxes https://docs.microsoft.com/en-us/graph/auth-limit-mailbox-access

Administrators who want to limit the app access to a specific set of mailboxes can use the New-ApplicationAccessPolicy PowerShell cmdlet to configure access control. This article covers the basic steps to configure an application access policy.



来源:https://stackoverflow.com/questions/39570465/limit-access-to-groups-or-individual-mailboxes-using-a-service-application-in-az

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!