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)

Exchange server returned UnknownIncomingEmailIntegrationError -2147220891

(0) ShareShare
ReportReport
Posted on by 352

HI, we have the following scenario:

* Dynamics 365 OnPremise Version 1612 (8.2.2.112) (DB 8.2.2.112) 

* Exchange Online in Office 365 subscription

* Dynamics 365 and Exchange Online integrated using Server Side Sync

* Mail and appointments flow seems to be working fine

A few weeks ago, some mailboxes in Dynamics 365 started to see the following alert in the Dynamics 365 log: 

An unknown error occurred while receiving email through one or more mailboxes. The system will try to receive email again later. For more information, open the associated email server profile *****.
Email Server Error Code: Exchange server returned UnknownIncomingEmailIntegrationError -2147220891 exception. 

I googled the error and found several references to items with the value 1 in CRMLinkState. Those mailboxes are not using CRM App for Outlook but in any case I used the EWS Editor for Dynamics 365 in order to find such e-mails but there are no any of them in the affected mailboxes. I double checked the e-mail profile and the Tests were performed with no error. I even tried to test and enable the mailboxes again but even though the process finishes successfully, the error is still being logged.

So, what else could be causing this error in those mailboxes. As usual, I will appreciate your guidance.

*This post is locked for comments

I have the same question (0)
  • Radu Chiribelea Profile Picture
    6,667 on at

    Hi Xavier,

    Can you try to enable CRM Platform traces at an error level? Server Side Synchronization is performed by the Async Service - so those are the logs you'd need to check.

    Additionally, you can also collect a Fiddler trace (you need to run Fiddler as the Async Service Account on the machine where the Async Service is running) - This might give you some more details on the exception.

    If that doesn't get you are step further - I suggest you reach out to MS Support as SSS is always a tricky topic - they would have better tools to diagnose & troubleshoot (Considering also that Exchange is Online)

    Hope this helps

    Radu

  • TomSmelser Profile Picture
    1,570 on at

    Xavier did you ever get a solution to this issue? We are experiencing the same. Thank you.

  • Xavier Villafuerte Profile Picture
    352 on at

    Hi Tom, mixed feelings about this. I configured again the integration but this time I managed to use other  user (not a CRM user with license) to act as the one used by the integration process. After that, I have not seen the error again however, although the mailboxes are enabled, the connection test failed. In any case, at least the e-mail flow is working.

  • Suggested answer
    Peter Hanna Profile Picture
    on at

    I have had that same issue. but it turns out that it were much simpler than Microsoft suggested. the owner of the mailbox record on dynamics didn't have any roles assigned.

  • Erik42 Profile Picture
    70 on at

    Exactly that worked for me too!

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