Enabling Auditing of Dynamics 365 Entities

In December 2020, the Coveo for Microsoft Dynamics 365 integration will reach its end-of-life and will no longer be supported by Coveo. See Coveo for Microsoft Dynamics 365 End-of-Life for details.

Auditing of entities is disabled by default in Dynamics 365 (see Microsoft Technet article Audit data and user activity). You must enable the setting if you want deleted Dynamics items to also be deleted from the Coveo index after an index refresh. If you skip this step, the source will refresh correctly but deleted items will still appear in search results and in the Content Browser until you rebuild the source (see Refresh VS Rescan VS Rebuild).

To enable auditing of Dynamics 365 entities

  1. In your Dynamics 365 organization, go to Settings > System > Auditing.

  2. On the Audit page, click Global Audit Settings.

  3. In the System Settings window, in the Auditing tab:

    1. In the Audit Settings section, check the Start Auditing box.

    2. In the Enable Auditing in the following areas section, select all the entities check boxes.

    3. Click OK.

      System Settings

  4. Back in the Audit screen, click Entity and Field Audit Settings.

  5. In the Default Solution window:

    1. In the navigation tree on the left, select an entity you’re indexing (such as Account, Contact, or Case).

    2. In the main display area, in the General tab, ensure that under Data Services, the Auditing check box is selected (checked).

      Data Services check boxes

    3. Repeat steps a and b for each entity you want to index.

    4. Click the Save icon to save your modifications.

    5. Click Publish to push your modification to your Dynamics organization.

  6. You can close the Default Solution window.

What’s Next?

You’re now ready to deploy Coveo for Microsoft Dynamics 365 (see Deploying Coveo for Microsoft Dynamics 365 Using a Solution File).

Recommended Articles