Skip to content

Commit 25ea67d

Browse files
w-legitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent f069fd6 commit 25ea67d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

integrations/directory-services/microsoft-office365.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@ Now you should have collected 3 text values that will be used in the next sectio
4444
* `Directory (tenant) ID`
4545
* `Client secret`
4646

47+
## Optional: Restrict App Permissions
48+
49+
To restrict the Graph App's access to only the objects that exist in given AD groups, [**Application Access Policies**](https://docs.microsoft.com/en-us/powershell/module/exchange/organization/new-applicationaccesspolicy?view=exchange-ps) ****can be used.
50+
51+
1. Ensure those resources \(users, rooms\) exist in those AD groups
52+
2. Use powershell to add the new policy, e.g:
53+
54+
`# Restrict to a group of Rooms
55+
New-ApplicationAccessPolicy -AppId <Graph App ID> -PolicyScopeGroupId <AD group that all bookable rooms exist in> -AccessRight RestrictAccess -Description "Restrict this app to Engine bookable rooms"`
56+
57+
`# Restrict to a group of Users
58+
New-ApplicationAccessPolicy -AppId <Graph App ID> -PolicyScopeGroupId <AD group that all staff app users exist in> -AccessRight RestrictAccess -Description "Restrict this app to Engine app users"`
59+
4760
## Configure ACAEngine to connect to Graph API
4861

4962
1. Login to https://&lt;your-engine-url&gt;/backoffice/\#/drivers/ and select an existing or create a new “Office365 Room Booking Panel Logic” driver and click edit \(pen icon at top right\). Note down the driver ID, which you will see in the browser URL bar and looks like “dep-xxxxxxxx” \(you will need this later\)

0 commit comments

Comments
 (0)