Attachments are not tracked to Microsoft Dynamics 365 after Office 365 Advanced Thread Protection(ATP) is enabled

Applies to:   Microsoft Dynamics 365 Customer Engagement Online
Original KB number:   4522769


When you use Server-Side Synchronization with Microsoft Dynamics 365 and Office 365 Advanced Thread Protection (ATP) is enabled, attachments may be missing from the email created in Microsoft Dynamics 365. You may see an attachment included named ATP Scan in Progress.eml, but the original attachment is not added to Microsoft Dynamics 365.


If ATP is configured with the safe attachment policy Dynamic Delivery and an email is received in the user's inbox with an attachment, two emails with the same email message ID will exist. The user will receive the first one without the original attachment while ATP is scanning the attachments. The second email will replace the first one after the scanning completes.

The Server-Side Synchronization feature will only track emails with the same message ID once to avoid duplication. If the second email doesn't get to Exchange before the sync cycle starts from Microsoft Dynamics 365, the original attachment may not be tracked to the system.


To solve the issue, use a different option such as the Block policy in the ATP safe attachment configuration.

For more information about ATP Safe Attachments policy options, see Set up Safe Attachments policies in Microsoft Defender for Office 365.