[Error] code 2147748619 or 0x80040b0b when Email or Appointment is Saved with certain Contact, Account in Dynamics 365 / CDS

TL;DR version: The user cannot save the Email/Appointment if one of the Recipient/Attendee has an invalid email address.

SYMPTOM

When the user tried to save the Email or Appointment with certain Contact/Account record in Email Recipient/Attendee, the system shows an error messages as below with error message 2147748619 or generic error message and Error code: 0x80040b0b. Once the error message shows up, the subsequent save actions are no longer affected.
The error message or code is not helpful for the user to figure out what is causing the issue.




CAUSE

It turned out to be that the issue is caused by one of the Email Recipient/Attendee records which contains the invalid email address.
Normally, you cannot set the invalid email address to the email field via UI or classic workflow. In this case, it was due to the import data not being cleaned up properly during the data migration.

If you attempt the same action in legacy web client, you can clearly see the proper error message too.


RESOLUTION

Just updated the email address of that particular record and the user was able to save the record successfully.


I guess that's one of the gaps between legacy web client and Unified Interface that it cannot show proper error message in Unified Interface. It is also a bit hard to troubleshoot when there is a client script error in Unified Interface.

Lesson learned: Always make sure the email address is valid during the data migration process or clear up those invalid email address. Otherwise, it could cause such issues along the line.

Comments

Popular Posts