In order to synchronize the 3CX Company Phonebook with Microsoft Exchange Server 2013 SP1 and Office 365, an impersonated Microsoft Exchange user account needs to be created. This impersonated account will be used to perform tasks on behalf of the user. In this case the impersonated account credentials will be used by the 3CX Exchange Service to log on to the Microsoft Exchange Server 2013 SP1 or Office 365 and synchronize your Microsoft Exchange contacts with the 3CX Company Phonebook. This feature requires the use of 3CX Phone System Pro.
Note: This is a necessary procedure if you want to synchronize the 3CX Company Phonebook with Microsoft Exchange Server 2013 Service Pack 1 and Office 365.
Attention: If an Exchange Personal Mailbox has more than one contact folder in it’s account, only the default contact folder created by MS Exchange is synchronized. Additional contact folders within this mailbox are not subjected to synchronization. The method used to find the user’s contacts is documented in MSDN under the EWS Managed API for WellKnowFolderName.Contacts
Setup your Impersonated Account with MS Exchange Server (2013 SP1) and Office 365
- Open your Exchange Server and log in with an administrator account.
- Navigate to recipients -> mailboxes.
- Create a new mailbox in your forest with the following details:
- First name: 3CX.
- Last name: Exchange Connector.
- Alias: 3CX.
- User logon name: Choose anything that you may prefer but remember this one for later.
- Password: Feel free to choose anything again but also remember this one for later.
- Uncheck the option “Require password change on next logon”. You may extend the AD setting for this user, so that the password never expires.
- Navigate to permissions -> admin roles.
- Add (using the + symbol) a new admin role policy with the following details:
- Name: 3CX Application Impersonation.
- Description: Allows the 3CX Phone System to sync contacts from Users, Public Folders and GAL.
- Write Scope: Default.
- Roles: Add the Role name “ApplicationImpersonation”.
- Members: Add the User “3CX Exchange Connector”.
- Save the settings.
- Open the Exchange Server Power Shell.
- Run this command assuming the ALIAS of the 3CX Exchange User is = 3CX:
New-ManagementRoleAssignment –Name:3CXApplicationImpersonation –Role:ApplicationImpersonation –User:3CX