Step 2: Restrict People.ai’s access to the mail-enabled security group only
Note: The application access script below is utilized before azure application installation. This is to restrict People.ai’s ability to read email and calendar data to the mail-enabled security group you’ve just created.
Connect to Exchange Online PowerShell
Run the following application access policy:
Note: Verify that you have entered the name of the mail-enabled security group in the first line of the script
New-ApplicationAccessPolicy \
-AppId 6135b4c8-8900-475f-84db-b8ee65fbb329 -PolicyScopeGroupId EvenUsers@contoso.com \
-AccessRight RestrictAccess \
-Description "Restrict this app to members of distribution group EvenUsers."
This script is utilized against the People.ai Graph ID application