Synchronizing Pega Sales Automation contacts with Microsoft Exchange contacts
Synchronize your Pega Sales Automation™ contacts with Microsoft Exchange contacts to improve your productivity and eliminate redundancy. With this integration, you can synchronize contacts in real time with your Microsoft Exchange server.
Prerequisites
To create a contact in Pega Sales Automation and synchronize this contact with Microsoft Exchange, you must create one impersonation account on Microsoft Exchange with impersonation privileges for all of the users who will manage contacts in the application.
With Microsoft Exchange impersonation, one account is acting as another account. When an account is impersonated, the system logs the access as if the impersonated account is acting on the system. The calling account must have the appropriate permissions and email ID to perform the impersonation. This allows the user who has impersonation permissions to make calls against the other user's account. The impersonated account is maintained in the EWS_Integration_AuthProfile authentication profile.
You only need to create one impersonation account to manage contacts for all Pega Sales Automation users.
Configuration
To synchronize your Pega Sales Automation contacts with Microsoft Exchange contacts, perform the following steps:
- Generate a keystore file with SSL certificate (requires admin privileges)
- Update the security profile
- Update the authentication profile
- Update application settings
- Enable operators for contact sync
- Verify contacts synchronization for operators
Generating a keystore file with SSL certificate
As an administrator, you must generate a keystore file with the appropriate SSL certificate for your Microsoft Exchange integration. The keystore file and SSL certificate are used by Pega Sales Automation to communicate securely with your Microsoft Exchange server.
- Retrieve the Exchange Web Services (EWS) endpoint URL from Microsoft Outlook. For information on how to retrieve the EWS endpoint URL, see the Microsoft website.
The EWS endpoint URL should look like the following example URL: https//mail.*****.com/ews/Exchange.asmx.
- Launch the EWS endpoint URL in a Google Chrome browser window.
- Complete the following steps to generate and save the SSL certificate file:
- In Chrome, open Developer tools.
- Click the tab.
- Click View Certificate and click the tab.
- Click Copy to File.
- Click Next and choose the format with Base-64 Encoded X.509.
- Click Browse and select the file name and path where you want to generate the keystore file.
- Click .
- In the Program Files directory on your machine, open the JDK/bin folder. (Sample path: C:\Program Files\Java\jdk1.6.0_26\bin)
- Run Java Keytool in the JDK/bin folder.
- Open the Command Prompt dialog and run the following command:
keytool
-
importcert
-file "<Path for
ssl
certificate>" -
keystore
"<Path for
jks
file name>" - alias "<anything>"
.- For the
"<Path for ssl certificate>"
, enter the path where you generated the SSL certificate. - For the
"<Path for jks file name>"
, enter the name for the jks file with path similar to the path for the SSL certificate.The command should look like the following example command:
keytool -importcert -file ../../../cert.cer -keystore ../../../jkfile.jks -alias certificate
.
- For the
- Press .
- At the prompt, enter a password and confirm the password.
- Press .
- At the Trust Question prompt, enter yes.
The keystore file is generated in the same path where your SSL certificate exists.
Updating the security profile
You must update the security profile in Pega Sales Automation with the keystore file and password that you generated previously. This provides Pega Sales Automation with the SSL certificate that is required to communicate with your Microsoft Exchange server.
- In the Dev Studio header search text field, search for and select the EWS_Integration_SecurityProfile WS-security profile.
- Click the tab.
- Next to the Keystore field, click the Open icon.
- Click Upload file.
- Click Choose File to search for and select the JKS keystore file for your server.
- Click Upload file.
- Enter the Keystore password and click .
Updating the authentication profile
You must update the authentication profile in Pega Sales Automation with the user name and password for your Microsoft Exchange impersonation account. Your Microsoft Exchange administrator can provide you with the user name and password for the impersonation account.
- In the Dev Studio header search text field, search for and select the EWS_Integration_ AuthProfile authentication profile.
- Click .
- In the Type field, select NTLM.
- Click Create and Open.
- Enter the user name that is required by Microsoft Exchange. This is the user email for the impersonated user account.
- Click .
- Enter the password for the user and click .
- Click .
Updating application settings
To configure your implementation for Microsoft Exchange integration, you must update application settings in App Studio.
- In the App Studio explorer panel, click Settings > Application Settings.
- Click the tab.
- Optional: In the Microsoft Exchange contact integraion check box to enable synchronizing contacts between Microsoft Exchange and Pega Sales Automation.
- In the field, select either 15 or 30 minutes synchronization slot size.
- Review and fill in the following fields:
- In the Exchange URL field, enter the URL for your Microsoft Exchange server.
- In the Exchange version field, enter the Microsoft Exchange version for your implementation in the following format: Exchange2010.
Pega Sales Automation supports only Exchange 2010, Exchange2013, and Exchange2016.
- In the Batch size field, enter the number of contact items to process in each batch for mailbox user.
The push agent continues to loop until all contact items are synchronized. Microsoft Exchange supports a batch range of 1 to 512.
- In the Notification URL field, enter the endpoint URL for the PushNotificationsListener REST service for Microsoft Exchange service notifications.
- In the Notification frequency (minutes) field, enter the number of minutes to use as the maximum timeout value before canceling the synchronization and sending a contact synchronization failure email notification.
The application retries the synchronization until the timeout limit is reached. For optimal performance, enter 30.
- In the Notification synchronization failure to field enter the email addresses of the operators to whom you want to send contact synchronization failure email notifications, separated by a semicolon.
For a description of common contact synchronization failure messages, see Failure messages for Microsoft Exchange to Pega Sales Automation calendar and contacts integration.
section, select the - In the Contact sync check box to enable synchronizing contacts between Microsoft Exchange and Pega Sales Automation.
- Select the synchronization option based on your business requirements.
- Review and fill in the fields from step 3.2 of this procedure together with the following additional field:
- In the Contact Sync Category field, enter the contact groups that you want to synchronize.
The default is PegaSASync category. You can enter any contacts group that you have specified in Microsoft Outlook.
- In the Contact Sync Category field, enter the contact groups that you want to synchronize.
section, select the - Click .
Enabling operators for contact sync
You must enable contact synchronization for each operator who will use the feature.
- You can enable contact synchronization in bulk for existing operators by using the Pega Sales Automation data import wizard to update your operator records in Pega Sales Automation.
For more information, see Pega Sales Automation data import.
- You can enable contact synchronization for a new operator when you create the operator record in Pega Sales Automation. On the main Contact sync check box. screen, click and select the
Verifying contact synchronization for operators
To verify that contact synchronization is enabled for an operator, complete the following steps:
- Log in to Pega Sales Automation as a Sales Ops operator.
- In the navigation pane, click Operators.
- Open the operator record that you want to check.
- On the Operator profile, verify if the Contact sync field is set to
true
. - Optional: If contact sync is set to
false
, click Actions > Update operator profile and select the check box. - Verify that the email address in the Email field is the operator's Microsoft Exchange email address.
- Click .
Previous topic Synchronizing Microsoft Exchange contacts with Pega Sales Automation contacts Next topic Integrating Pega Sales Automation with Microsoft Outlook by using the Pega for Outlook Office add-in