Connect Salesforce and Microsoft® Exchange Using an Exchange Service Account

Connect Salesforce and Microsoft® Exchange Using an Exchange Service Account

To connect Salesforce to your company’s Microsoft Exchange server using a service account, you and your Exchange administrator have to complete several steps, both from Salesforce and from your Exchange server.

Required Editions

Available to sync records from: Salesforce Classic, Lightning Experience, and the Salesforce mobile app
Available to set up from: Salesforce Classic and Lightning Experience
Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions with Sales Cloud, Service Cloud, and Lightning Platform
User Permissions Needed
To set up a service account to communicate with Lightning Sync: Administrative access to your company’s Exchange server
To access and edit Lightning Sync Setup Customize Application AND Manage Users AND Manage Lightning Sync
Important
Important

Starting in Winter ‘21, Lightning Sync isn’t available to new Salesforce customers. Use Einstein Activity Capture to sync events, contacts, and emails between your connected account and Salesforce.

If you have Lightning Sync, use the migration tool to move to Einstein Activity Capture before Lightning Sync retires in 2027. Before you migrate, review Compare Einstein Activity Capture and Lightning Sync to understand what to expect when you migrate.

If your org is exempt from migration because of a licensing issue or if your org doesn’t support Einstein Activity Capture, you won’t see the migration tool in Lightning Sync.

  1. Prepare Your Microsoft Exchange Server for Lightning Sync
    To set up Lightning Sync using the service account connection method, enable these settings on your Microsoft® Exchange server: Exchange Web Services, Exchange Autodiscover Service, and Basic or NTLM authentication.
  2. Set Up a Microsoft Exchange Service Account to Communicate with Lightning Sync
    To set up Lightning Sync using a service account, create an Exchange service account with impersonation rights for the mailbox of each Lightning Sync user.
  3. Run the Microsoft® Remote Connectivity Analyzer with Lightning Sync Parameters
    Salesforce admins can run the Remote Connectivity Analyzer—the free web-based tool provided by Microsoft—to confirm whether Salesforce admins and their Exchange admins have set up Lightning Sync for Microsoft Exchange successfully. Or, admins can run the Remote Connectivity Analyzer if Lightning Sync for Microsoft Exchange was syncing reps’ items successfully, but suddenly stops. Use the parameters provided to run the test for Lightning Sync.
  4. Set Up Salesforce to Communicate with Microsoft® Exchange Using a Service Account
    After running the Remote Connectivity Analyzer, log in to Salesforce to enable Lightning Sync for Microsoft Exchange and provide your service account credentials.