web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Emails arrive days later before arriving in CRM with Server-Side Sync

(2) ShareShare
ReportReport
Posted on by 115

We are in a CRM 2016 v8.2 environment On-Premise (8.2.2.112) using Server-Side Sync.


Users report that sometimes they receive old mails in the queue.
In CRM they are marked as if they just arrived in the system based (createdon) on the audit history on the email record:

3404.audit.png

But in fact the users has sent it already 3 months earlier as we can see in the "actualend" field. So now it happens that Customer Service Agents reply to 3 months old emails. 

I checked one of the queues where the problem occurred (but it happens on all queues / mailboxes) and there was no change in the last years:

audit_5F00_queue.png

I checked with the Exchange team and they confirmed that the mail was received on the time that the client has sent the email. So the problem must be somewhere between Exchange and CRM. So probably the server-side sync. 

After I checked the database if there were more emails with the same problem and it seemed so. Some emails take 258 days to arrive in the CRM.

sql_5F00_results.png

I used the following query to come the the above screenshot: 

SELECT subject as 'subject', directioncode as 'directioncode',ActualEnd as 'sent on (actualend)',CreatedOn as 'in crm since (createdon)',DATEDIFF(d, actualend, createdon) as 'delay in days', SubmittedBy, ToRecipients
FROM email (nolock)
WHERE actualend > '2018-01-01' -- only check emails after 2018
AND DATEDIFF(d, actualend, createdon) > 1 -- that arrived more than 1 day later in CRM
ORDER BY [delay in days] desc -- in order they arrived in CRM

Extra details: 

  • There is no outlook client or any other option for users to track emails manually. All emails enter the CRM trough the Server-Side Sync;
  • There are no workflows on create of email that are in status waiting;
  • There is no plugin registered on the Create of an email;
  • It happens not only on 1 or multiple specific queues. It happens both for personal queues and public queues. 
  • It does not only happen for emails coming from outside the organization. The problem also happens for emails sent within the organization;

Does anyone has any idea? All help / tips are welcome.
Is there a way for me to know which emails are queried by the server side sync and why some are picked up immediately and others are not? 

Many thanks in advance.
Kind regards
Sven V. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    The delays mostly likely caused by Server Side Sync issue, i have come across other users reporting same issue, emails sent or received days after.

    Could you enable Server-Side Sync failures dashboards, and use both SSS failure and monitoring dashboard and see if it surfaces error.

    You could have your Sys Admin team monitoring these dashboards on a regular basis to make sure actions are taken sooner for failed emails

    support.microsoft.com/.../troubleshoot-item-level-server-side-synchronization-issues-with-dynami

    docs.microsoft.com/.../troubleshooting-monitoring-server-side-synchronization

    community.dynamics.com/.../311976

  • Sven Vervynckt Profile Picture
    115 on at

    We've updated the CRM server with Windows Updates, to upgrade the CRM server to 8.2.3.
    Then we enabled the dashboard for "Server-Side Synchronization Failures" in DEV and TEST but there was nothing there indicating there are were any issues.
    We didn't check the production environment yet (because we would need to install windows updates first), as we are planning a CRM upgrade to v9.
    As soon as we have upgraded our environment I will update this post.

  • SunilJ Profile Picture
    10 on at

    Dear, Currently one of my client facing same issue posted by Sven. If any one got the solution of this issue please reply. It would be great help. CRM v. 8.2.xxx on-premise  Thank you.

  • skhan Profile Picture
    120 on at

    Dear Sven, Were you able to resolve it?

    we are having the same issue but only with 1 Mailbox. Email are received after 1 day in that mailbox and there are no errors.

    I have also enabled CRM tracing but there are no related errors.

  • skhan Profile Picture
    120 on at

    Dear Sven, Were you able to resolve it?

    we are having the same issue but only with 1 Mailbox. Email are received after 1 day in that mailbox and there are no errors.

    I have also enabled CRM tracing but there are no related errors.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans