Reputation: 31
I have created a azure APP and I have given "Mail.ReadBasic.All" to this APP. With this we can access metadata for all mailboxes. I want to restrict this access to only one email address. Basically REST call only allowing metadata to be retrieved for only one target email.
Upvotes: 0
Views: 1254
Reputation: 16438
You have 2 options:
New-ApplicationAccessPolicy -AccessRight RestrictAccess -AppId "{appID}" -PolicyScopeGroupId [email protected] -Description "Restrict this app to members of security group EvenUsers."
See a similar issue here.
Upvotes: 1