Is there a way to weaken the permissions of the apps I create on Azure AD?

夙愿已清 提交于 2020-06-28 04:02:14

问题


I created the app on Azure AD.

The application works fine.

By the way, I wanted to make this app's permissions smaller.

First, I want to limit the schedule that this app can view. For example, the application can see user A's schedule, but not user B's schedule, and so on. User A and User B are registered on the same Azure AD.

Second, I want to limit the users who can impersonate themselves as email senders. For example, user C can send a mail, but user D can't send a mail.

Is there a better way to do it?

This is the app's permissions.

Thank you.


回答1:


As @juunas suggested, Microsoft Graph Application permissions can't be limited. It is for the entire tenant.

But you can use New-ApplicationAccessPolicy to restrict your app to target mailboxes.

For example:

New-ApplicationAccessPolicy -AccessRight RestrictAccess -AppId "{appID}" -PolicyScopeGroupId EvenUsers@AppPolicyTest2.com -Description "Restrict this app to members of security group EvenUsers."

You can put user A and C into the security group EvenUsers. Then your app is only granted access to the data of user A and C.



来源:https://stackoverflow.com/questions/60830472/is-there-a-way-to-weaken-the-permissions-of-the-apps-i-create-on-azure-ad

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