Troubleshooting events duplication in Salesforce#

The creation of multiple copies of the same calendar event in sync sessions usually indicates that besides Context Sync, there is other software transferring data between your email service and Salesforce API, causing data transfer conflicts with Context Sync.

When you are using Context Sync, there should be no other software running that performs data transfer between your email service and Salesforce API (e.g., Salesforce Lightning Sync, Salesforce Inbox, Salesforce for Outlook, Einstein Activity Capture, etc.)

Running different Microsoft Exchange Server – Salesforce sync applications simultaneously will cause sync conflicts and items duplication. If you encounter this kind of unexpected behavior, please check that with your Salesforce admin or, if you are a Salesforce admin, check for such software in the following places:

  1. Salesforce Setup > Apps > App Manager

  2. Connected Apps

  3. Salesforce Login History

After you find apps which cause sync conflicts, please refer to this Salesforce Help article or to the step-by-step guide to learn how to disable them. Please also note that apps which use Salesforce API and do not exchange data between Salesforce and Microsoft Exchange Server / Microsoft 365 / Google will not cause sync conflicts.

Before removing any duplicates created in Salesforce, it’s necessary to disable the app causing this issue to ensure that the duplication stops.

Disable Lightning Sync for Outlook users#

  1. Switch to Lightning Experience as described in this Salesforce article

  2. Click the gear icon in the upper-right corner of the page and open Salesforce Setup

    ../../../../_images/open-setup.png
  3. In the Quick Find field in the upper-left corner, type Sync to quickly find the necessary setting.

  4. Select the option Outlook Integration and Sync.

    ../../../../_images/outlook-integr.png
  5. On the Outlook Integration And Lightning Sync page, disable the Lightning Sync switch button.

    ../../../../_images/outlook-integr-off.png
  6. Open Context Panel in Outlook, click the menu icon, and select Context Sync settings.

    ../../../../_images/sync-settings-14.png
  7. Go to the Issues tab, find the events duplicates in the list, and remove them.

    ../../../../_images/issues1.png
  8. Go back to the General tab and click the Force sync button.

    ../../../../_images/force.png

Disable Lightning Sync for Gmail users#

  1. Switch to Lightning Experience as described in this Salesforce article

  2. Click the gear icon in the upper-right corner of the page and open Salesforce Setup.

    ../../../../_images/open-setup.png
  3. In the Quick Find, type Sync to quickly find the necessary setting.

  4. Select the option Gmail Integration and Sync.

  5. On the Gmail Integration And Lightning Sync page, disable the Lightning Sync switch button.

    ../../../../_images/gmail-integr-off.png
  6. Open Context Panel in Gmail, the menu icon, and select Context Sync settings.

    ../../../../_images/sync-settings-14.png
  7. Go to the Issues tab, find the events duplicates in the list, and remove them.

    ../../../../_images/issues1.png
  8. Go back to the General tab and click the Force sync button.

    ../../../../_images/force.png

Disable Einstein Activity Capture#

  1. Switch to Lightning Experience as described in this Salesforce article.

  2. Click the gear icon in the upper-right corner of the page and open Salesforce Setup.

    ../../../../_images/open-setup.png
  3. In the Quick Find field, type Einstein to quickly find the necessary setting.

  4. Select the option Settings.

  5. On the Settings tab, disable Einstein Activity Capture.

    ../../../../_images/einstein-off.png
  6. Open Context Panel in your email service, click the menu icon, and select Context Sync settings.

    ../../../../_images/sync-settings-14.png
  7. Go to the Issues tab, find the events duplicates in the list, and remove them.

    ../../../../_images/issues1.png
  8. Go back to the General tab and click the Force sync button.

    ../../../../_images/force.png