Using Exchange Server

Introduction

The Microsoft Exchange Server (Outlook) integration is only available in SyncSign On-Premise Server (SOPS) Setup (SOPS).

../_images/exchange_syncsign_integration.png
  • Watch this video for a walkthrough on how to setup the Microsoft Exchange Server.


Create the room resources

You can skip this step if you have created the room resouces berfore.

There are two ways to create a room calendar:

  • Shell Method

  • Console Method

Creating room via the shell

New-Mailbox -Name 'Meeting Room' -Alias 'meeting_room' -UserPrincipalName 'meeting_room@YOUR_DOMAIN_NAME.COM' -SamAccountName 'meeting_room' -FirstName 'Meeting' -Initials '' -LastName 'Room' -Room
../_images/exchange_server_create_room_1.png

Creating room via Exchange console

  1. Go to http://<Your-Exchange-Server-Domain>/ecp. Sign in Exchange Management Console (EMC) using the Administrator credentials.

  2. Navigate to Recipient Configuration > Resources > New Room Mailbox

../_images/exchange_server_create_room_2.png
  1. Input the information and save settings

../_images/exchange_server_create_room_3.png

Add room to room list

You must add a room to a room list before SyncSign can retrieve this room

  1. Create the room list

New-DistributionGroup -Name "SyncSign Rooms" -RoomList
  1. Add room to the room list:

Add-DistributionGroupMember -Identity "SyncSign Rooms" -Member meeting_room@YOUR_DOMAIN_NAME.com

Configure each room

Once you have room resources established for your rooms, you’ll want to configure them to include important details like title, description, privacy settings, prevent conflicts, etc. The following configuration ensures this information is passed through to SyncSign.

All rooms via shell

Open Exchange management shell. Run the command:

Get-Mailbox -RecipientTypeDetails RoomMailbox |Set-CalendarProcessing -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false -RemovePrivateProperty $false -DeleteAttachments $false -AutomateProcessing AutoAccept

Single room via shell

Open Exchange management shell. Run the command:

Set-CalendarProcessing -Identity "meeting_room” -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false -RemovePrivateProperty $false -DeleteAttachments $false -AutomateProcessing AutoAccept
Set-CalendarProcessing -Identity "game_room” -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false -RemovePrivateProperty $false -DeleteAttachments $false -AutomateProcessing AutoAccept

Create a Service Account

  • The first step is to create a service account to authorize SyncSign to access the shared resource calendars for your office from the Exchange Server.

Note

A service account is a user account with a specific purpose: to provide a security context for services - such as your calendars - which run on a Exchange Server. Administrators can manage service accounts individually to determine the level of access outside applications will receive.

There are two ways to create a service account and mailbox:

  • Shell Method

  • Console Method

Creating a service account via the shell

In the Exchange management shell, run the command:

New-Mailbox -UserPrincipalName syncsign@YOUR_DOMAIN_NAME.com -Alias syncsign -Name SyncSign -OrganizationalUnit Users -FirstName SyncSign -LastName User -DisplayName "SyncSign User"

Make sure YOUR_DOMAIN_NAME.com is the domain of your organization. The shell will prompt you to enter a password for the new user.

Creating a service account via Exchange console

The following screenshots show Exchange 2016, but the process is the same in Exchange 2007, 2010 and 2013.

  1. Go to https://YOUR_DOMAIN_NAME.com/ecp. Sign in Exchange Management Console (EMC) using the Administrator credentials.

../_images/exchange_server_create_service_account_1.png
  1. Navigate to Recipient Configuration > Mailbox

  2. On the right Actions pane, click New Mailbox

  3. Select User Mailbox / New User

../_images/exchange_server_create_service_account_2.png
  1. Enter the information to create the account and set up the service mailbox

  2. Enter an alias for the mailbox. This can be something like “booking”, “syncsign”, etc.

../_images/exchange_server_create_service_account_3.png
  1. Finish the setup and the user should be created.

Configure roles for service account

The service account will have access to all calendars, regardless of type.

  1. In the Exchange management shell, run the command:

New-ManagementRoleAssignment –Role:ApplicationImpersonation –User:YOUR_SERVICE_ACCOUNT_USERNAME_HERE

Replace the YOUR_SERVICE_ACCOUNT_USERNAME_HERE with the username created just now.

../_images/exchange_server_grant_permission_to_user_1.png
  1. Limit the management scope, then the service account has access to room and equipment calendars only. In the Exchange management shell, run the command:

New-ManagementScope -Name "SyncSignResourceMailboxes" -RecipientRestrictionFilter {RecipientTypeDetails -eq "RoomMailbox" -or RecipientTypeDetails -eq "EquipmentMailbox"}

This creates a new management scope, named SyncSignResourceMailboxes, for only rooms/equipment to act as a filter for the impersonation.

  1. Assign the impersonation to the service account:

New-ManagementRoleAssignment –Name "ResourceImpersonation" –Role ApplicationImpersonation –User "YOUR_SERVICE_ACCOUNT_USERNAME_HERE" –CustomRecipientWriteScope "SyncSignResourceMailboxes"
../_images/exchange_server_grant_permission_to_user_2.png

Connect SyncSign to your Exchange Server


  1. Sign in the portal for SyncSign On-Premise Server(SOPS) with a browser.

../_images/exchange_server_connect_to_syncsign_1.png
  1. Navigate to the DataSource > MS Exchange

  • Input the credentials:

    • Exchange Server: The domain of your Exchange Server

    • Username: The user name of the service account you created (SOPS will connect to Exchange Server with this account)

    • Password: The password of the service account

    • Email: The email of the service account

  • Poll Interval: How often the SOPS should access the Exhange Server, e.g. 60 seconds

  • Click Enable Connection to enable this integration.

../_images/exchange_server_connect_to_syncsign_2.png

FAQ

  • How does this work?

    • SyncSign On-Premise Server (SOPS) will automatically poll the room calendar information at a preset interval.

    • SOPS will check if there is any changes and send notification to the SyncSign Display to refresh the screen with the new booking information.

  • There is only the organizer name shown on the SyncSign Display, not the event title.

  • The Events are created/updated on the calendar, the display is not refreshing

    • Make sure the firewall allows inbound access for SOPS to your Exchange Server by adding the SOPS’s IP address to the whitelist.

    • Make sure the poll interval is set to a proper value.

  • How to switch the Exchange Server account?