The Dataverse user who owns the receiving mailbox or queue record doesn't have a license or sufficient privileges to synchronize emails. Learn more about the required privileges for email synchronization.
The received email isn't in the root Inbox of the target mailbox. Emails must remain in the root Inbox until they're tracked. Moving emails between folders can cause server-side synchronization to omit them.
The mailbox isn't properly configured in the remote email system (Microsoft Exchange or Google Gmail), or there are connectivity issues between the mailbox and the remote email system. Configuration and connectivity errors can be found on the mailbox alert wall.
Troubleshoot using the "Server-Side Synchronization Item Level Monitoring" dashboard
To get troubleshooting information in the Server-Side Synchronization Item Level Monitoring dashboard:
In Microsoft Dataverse, go to the Email Configuration area, and then select the Server-Side Synchronization Item Level Monitoring navigation link.
Note
Dashboard failures are visible to the user who owns the mailbox or a user who has the out-of-the-box System Administrator security role.
The Sync Error column contains information about why an item didn't synchronize. Selecting the link directs you to an article about the error, if available. For example:
This screenshot shows a "Question about service" email that isn't automatically tracked due to an IsvAborted error that occurs during processing. This error indicates a failure within a plugin or workflow that needs to be addressed by the solution owner.
This screenshot shows a "Can we meet tomorrow?" email that isn't automatically tracked due to a NoCorrelationMatch error. This error occurs because none of the resolved (known) Dataverse email recipients automatically accept the email based on their personal option settings.
Troubleshoot using mailbox alerts
Review mailbox alerts in the target Dataverse recipient's mailbox to identify and address synchronization issues and processing errors.
Open the affected mailbox record, and then on the left navigation bar, under Common, select Alerts.
For example, the following alert message indicates that emails can't be processed due to an error in the "1 Test" custom workflow.
Starting sync workflow '1 Test', id:<ID> Entering UpdateStep1_step:
Sync workflow '1 Test' terminated with error 'Entity 'Contact' With Id = <ID> Does Not Exist'
A closer examination of the error reveals that the workflow was trying to set a contact that no longer existed in the system, thus causing the email creation to fail.
To narrow down why an email might not be automatically tracked, check each of the following:
For the email in question, ensure the email is in the Inbox folder of the target Dataverse mailbox. Emails outside the Inbox folder can't be processed, even if they're moved back to the Inbox later.
If you want to reprocess an email that was moved back to the Inbox folder, you can reset the processing date (ProcessEmailsReceivedAfter) on the Dataverse mailbox record. This action allows server-side synchronization to discover and process the email. The details are outlined in the Note section of this best practices page.
If you want to track emails that were moved to subfolders, you need to enable Folder-Based tracking.
Examine the recipient email addresses in the To: and Cc: lines and ensure that at least one of them is associated with a Dataverse mailbox, which is tested and enabled for server-side synchronization and is configured to automatically track the email based on its associated incoming email filtering method. If the email is sent to a distribution group or has a Bcc recipient, refer to the topic below to ensure that the underlining Dataverse mailbox is correctly configured.
Ensure that the recipient email addresses in Exchange or Gmail match the corresponding email address of the Dataverse user or queue mailbox.
Emails to distribution groups and BCC recipients aren't automatically tracked
Dataverse will resolve the recipient email addresses on the email to known Dataverse users or queue records. If the recipient email addresses include a distribution group or Bcc recipients, Dataverse can't resolve these recipients to known Dataverse users or queues.
Emails assigned the Undeliverable category in Exchange
Cause
When server-side synchronization processes an email but can't create an email activity record in Dataverse, the "Undeliverable" category is assigned to the email. This issue typically occurs due to a custom plugin, workflow failure, or privilege issue when processing the email. Privilege issues usually occur when the user who owns the receiving mailbox or queue doesn't have sufficient privileges to synchronize the email records.
Ensure that the synchronization settings are correctly configured for Outlook replies. An administrator can configure the AutoTrackSentFolderItems value of OrgDBOrgSettings. This action will enable server-side synchronization to process emails in the Sent Items folder in Exchange and automatically track reply emails to Microsoft Dynamics 365 by honoring the email acceptance options in Set Personal Options.
Important
Automatic tracking of sent items is disabled by default, and you must enable it by configuring the AutoTrackSentFolderItems value in OrgDBOrgSettings.
Enabling tracking for sent items is only supported with a Microsoft Exchange mailbox.