Hi,
For the past 3-4 weeks, we have had issues with tracking emails from Outlook towards Dynamics 365 CRM.
It has stopped working all of a sudden, with no major changes being preformed to the system.
When we set an email for tracking, it goes into a pending state, before it eventually times out and fails with this error message (Company name censored).:
"stack": "Error: Unable to retrieve Exchange Mailbox Item Context from ExchangeProvider\n at new t (https://CENSORED.crm4.dynamics.com/crmmailapp/scripts/shim.js?v=1.2.914:1:3581)\n at e.reportError (https://CENSORED.crm4.dynamics.com/crmmailapp/scripts/shim.js?v=1.2.914:1:187878)\n at https://CENSORED.crm4.dynamics.com/crmmailapp/scripts/shim.js?v=1.2.914:1:613201\n at async Promise.all (index 1)\n at async Promise.all (index 0)",
"message": "Unable to retrieve Exchange Mailbox Item Context from ExchangeProvider",
"code": 2147873296,
"componentName": "AppChecker",
"innerError": {
"message": "Atachments found. EWS disabled, fall back to SSS sync cycle",
"code": 2147873296,
"componentName": "MailboxItemProvider.getAppointmentAttachmentIds"
I have checked EWS status for both a user that received the error message above, and on for the org. Results below.:
Running:
Get-CASMailbox -Identity User@DomainName.com | Select EwsEnabled
Returns:
EwsEnabled
----------
True
Running:
Get-OrganizationConfig | FL Ews*
Returns:
EwsAllowEntourage :
EwsAllowList :
EwsAllowMacOutlook :
EwsAllowOutlook :
EwsApplicationAccessPolicy :
EwsBlockList :
EwsEnabled :
EwsOperationAccessPolicyEnabled :
EwsOperationAccessPolicyAllowList :
EwsOperationAccessPolicyPopulated : False
EwsEnabled being blank, should mean it follows default settings, which would be True.
What can be the cause of this?