Limit Application Permissions
In this step, we will now apply the restriction to the PlaceOS Room Booking group, restricting it to only see the calendars required for the purposes of room booking.
The application permissions policy may take up to 12 hours to become available after configuration, during this time PlaceOS will not be able to access room resources.
These steps are taken directly from the Microsoft Documentation: Limiting application permissions to specific exchange online mailboxes.
Prerequisites
Exchange Resource Group
Exchange Administrator Access
Azure App Registration App ID
Procedure
From Exchange Online, or any other service with PowerShell connected to Exchange, open a new PowerShell Terminal.
Run the following command, replacing the arguments for AppID, PolicyScopeGroupID and Description. We will use the AppID and PolicyScopeGroupID from previous steps:
3. The application policy should now be applied, this can be tested using the `Test-ApplicationAccessPolicy` cmdlet:
4. If we test using a regular user, the result should be denied:
5. If we test using a room resource address, the result should be granted:
Last updated