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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

UnknownIncomingEmailIntegrationError in integration between Exchange and Dynamics 365 CE Sales

(0) ShareShare
ReportReport
Posted on by 50

Hello,

i'm having a strange issue during the activation on email integration in a customer D365 Sales environment (on-line) using the default Exchange Online server profile.

There are 20 users in this environment, all of them are good exception for one which presents the subject error during the "Test & Enable Mailbox" phase.

The error detail:

ActivityId: 57e5f018-ce6b-4f06-ade8-fb8ce4dbec63
>Error : Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.DateTimeOffset'. Path '[0].body.sentDateTime'. ---> System.ArgumentException: Could not cast or convert from {null} to System.DateTimeOffset.
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType)
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, ...

This is happening just for this specific user and exclusively on the Incoming Sync method (which is Server-Side Synchronization), the other two options (outgoing and Appointments, Tasks and Contacts) are perfectly fine. The user has the same settings/configurations of other users on his O365 profile (its an online profile, not synced with onprem AD) so no differences in this.

I already opened a support ticket to D365/Power Platform support, but they bounced me back telling me to contact directly the Exchange product team because the integration error is on their end; unfortunately i'm apparently prevented in doing this because the admin.microsoft portal allows me to just open ticket to customer's partner (one of them is my company, lol).

Someone has experienced errors like this one or can give me advice on the fastest way to contact the Exchage support?

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    It can be solved by working with Exchange to clean up the data in exchange for affected email and moving the email in question from inbox to some other folder that is not tracked by SSS / Delete the email.

  • Daniele.Torlai Profile Picture
    50 on at

    Hi,

    thanks for your answer.

    So your're basically saying that the issue is caused by some emails already in the inbox at the moment of the integration activation and that i have to find and clean/move?

    Thanks in advance.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans