Before connecting your Exchange On-Premise account with Space Connect, you need to create a service account which can access meeting room calendar resources you want to link to Space Connect.
Follow the below steps to create a new Service Account.
Step 1: Create Service Account
In the Exchange Management shell, run the following command:
New-Mailbox -UserPrincipalName sc-service-account@your_domain -Alias SA -Name serviceaccount - OrganizationalUnit Users -FirstName Service -LastName Account -DisplayName "Service Account"
Make sure 'your_domain' is the domain of your organisation. The shell will prompt you to enter a password for the new user.
Record the details of the Service Account username and password. This is required later.
Step 2: Impersonation access for Service Account
You need to make sure the new service account has the ability to create, edit, and delete meetings. Space Connect will use these permissions to book and end meetings via the room room panel, or automatically cancel a meeting no-show.
To do this, you need to provide the service account with 'impersonation' role access. For more information about impersonation, refer to this Microsoft article: Impersonation vs Delegation.
New-ManagementRoleAssignment –Role:ApplicationImpersonation –User:InsertNameOfServiceAccount
Remember to insert the name of your service account in the command. If you have named the service account as shown in step 1, the command should look like this:
New-ManagementRoleAssignment –Role:ApplicationImpersonation –User:serviceaccount
Step 3: Grant access to all calendars
The service account will need to have access to all calendars, regardless of type. In the Exchange management shell, run the command:SERVICEACCOUNTUSERNAMEHERE
For more information on configuration for impersonation, refer to to this Microsoft article: Impersonation and EWS in Exchange
Step 4: Login (if not already logged in)
Once you have created a Service Account for Space Connect, you must link the account in the Space Connect Web Admin Portal.
Login to the administration website at http://admin.spaceconnect.co/.
Once logged in, the landing page will display that shows all existing locations (if any).
Step 5: Save Service Account to SpaceConnect
From the left hand menu, click on "Configuration".
From the sub menu, select "Notification Settings".
At the bottom of the page is the section for "Exchange On Premise Setup".
Enter the Service Account Username and Password and select the Save button.
Once this step is complete, you can link your rooms to Space Connect.
MS Connectivity Check
SpaceConnect uses the Service Account to communicate with Exchange. Sometimes issues can occur when the service account does not have the full connectivity required.
Microsoft offer a useful tool for testing service accounts and checking that they can reach room calendars. This is available here: https://testconnectivity.microsoft.com/tests/EwsAccess/input