We are missing a lot of emails. How to fix that?
I've looked in the trace log, but there is no message about why the emails got rejected. How should the error look like? Also I deactivated already severy Workflows and it is still the same.
EDIT: Addional information: External e-mails are received. Internal E-Mails are rejected.
EDIT2:
support@..........
An error occurred while creating the incoming email "Markting for ......" in Microsoft Dynamics 365 for the mailbox support@.......
EDIT3:
An error occurred while creating incoming email in Microsoft Dynamics 365 for the mailbox support@....... To view the email that failed, see the alerts in the mailbox record.
Error E-Mail-Server: ExchangeResponseError More Information
20.12.2018 12:36
The help link try to redirect me to https://www.dynamics365cedocs.com/help-resources.aspx?lcid=1031&sv=8.2.2.112&de=OnPrem&client=SSS&Error=Microsoft.Crm.Asynchronous.EmailConnector.ErrorSource.ExchangeError%3a29
This article did not exist!
Sorry, we couldn’t find a help article for this error code.
But for that time I see something in the trace log:
[2018-12-20 12:36:50.239] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 58 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 01722216-70c3-481c-a928-3bbebca6cd2e |ActivityId: 01722216-70c3-481c-a928-3bbebca6cd2e | CrmHttpException..ctor ilOffset = 0x22 at CrmHttpException..ctor(HttpStatusCode statusCode, String message, Object[] args) ilOffset = 0x22 at CrmODataOptimisticConcurrencyHelper.HandleGetMatchETags(CrmODataExecutionContext context, Entity entity) ilOffset = 0x129 at CrmODataServiceDataProvider.RetrieveEntityWithRelatedRecords(CrmODataExecutionContext context, EntityReference primaryEntityReference, QueryExpression qe, RelationshipQueryCollection relatedEntitiesQuery) ilOffset = 0x19 at CrmODataServiceDataProvider.RetrieveEdmEntity(CrmODataExecutionContext context, String edmEntityName, String entityKeyValue, ODataQueryOptions queryOptions) ilOffset = 0x2D at EntityController.GetEntity(String entityName, String key) ilOffset = 0x32 at ilOffset = 0xFFFFFFFF at <>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) ilOffset = 0x0 at ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) ilOffset = 0x34 at <InvokeActionAsyncCore>d__0.MoveNext() ilOffset = 0x52 at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at ApiControllerActionInvoker.InvokeActionAsyncCore(HttpActionContext actionContext, CancellationToken cancellationToken) ilOffset = 0x35 at ApiControllerActionInvoker.InvokeActionAsync(HttpActionContext actionContext, CancellationToken cancellationToken) ilOffset = 0x3 at <ExecuteAsync>d__2.MoveNext() ilOffset = 0xD9 at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at ActionFilterResult.ExecuteAsync(CancellationToken cancellationToken) ilOffset = 0x35 at ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken) ilOffset = 0x138 at <SendAsync>d__1.MoveNext() ilOffset = 0x123 at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3C at HttpRoutingDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0xBF at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x17D at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CorsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x50 at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CrmETagMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0xF at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CrmDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x11D at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3C at <ProcessRequestAsyncCore>d__0.MoveNext() ilOffset = 0x96 at AsyncTaskMethodBuilder.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpControllerHandler.ProcessRequestAsyncCore(HttpContextBase contextBase) ilOffset = 0x2C at TaskAsyncHelper.BeginTask(Func`1 taskFunc, AsyncCallback callback, Object state) ilOffset = 0xD at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0xE6 at HttpApplication.ExecuteStepImpl(IExecutionStep step) ilOffset = 0x64 at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x3E at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0x27A at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31 at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0 at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 >Crm Exception: Message: The requested record matches a specified If-None-Match version., ErrorCode: -2147088246 [2018-12-20 12:36:50.255] Process: w3wp |Organization:e1f18b90-ecb3-e211-b55e-000c29329206 |Thread: 58 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 01722216-70c3-481c-a928-3bbebca6cd2e |ActivityId: 01722216-70c3-481c-a928-3bbebca6cd2e | CrmODataUtilities.Trace ilOffset = 0x24 at CrmODataUtilities.Trace(TraceLevel traceLevel, String message) ilOffset = 0x24 at ExceptionLogger.LogAsync(ExceptionLoggerContext context, CancellationToken cancellationToken) ilOffset = 0x0 at ExceptionLogger.System.Web.Http.ExceptionHandling.IExceptionLogger.LogAsync(ExceptionLoggerContext context, CancellationToken cancellationToken) ilOffset = 0x24 at CompositeExceptionLogger.LogAsync(ExceptionLoggerContext context, CancellationToken cancellationToken) ilOffset = 0x47 at ExceptionLoggerExtensions.LogAsync(IExceptionLogger logger, ExceptionContext context, CancellationToken cancellationToken) ilOffset = 0x23 at <SendAsync>d__1.MoveNext() ilOffset = 0x1FF at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3C at HttpRoutingDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0xBF at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x17D at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CorsMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x50 at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CrmETagMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0xF at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at CrmDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x19 at <SendAsync>d__0.MoveNext() ilOffset = 0x11D at AsyncTaskMethodBuilder`1.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3D at HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ilOffset = 0x3C at <ProcessRequestAsyncCore>d__0.MoveNext() ilOffset = 0x96 at AsyncTaskMethodBuilder.Start(TStateMachine& stateMachine) ilOffset = 0x2C at HttpControllerHandler.ProcessRequestAsyncCore(HttpContextBase contextBase) ilOffset = 0x2C at TaskAsyncHelper.BeginTask(Func`1 taskFunc, AsyncCallback callback, Object state) ilOffset = 0xD at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() ilOffset = 0xE6 at HttpApplication.ExecuteStepImpl(IExecutionStep step) ilOffset = 0x64 at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) ilOffset = 0x3E at PipelineStepManager.ResumeSteps(Exception error) ilOffset = 0x27A at HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) ilOffset = 0x31 at HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) ilOffset = 0xB0 at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x131 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) ilOffset = 0xFFFFFFFF at PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x1E7 at PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) ilOffset = 0x0 >{"Error":{"InnerError":null,"Message":"CrmHttpException: The requested record matches a specified If-None-Match version."}}
More information about the mailbox state in the CRM
Incoming: success
Outgoing: success
The mailbox is approved
EDIT4:
downloaded mailbox details:
Mailbox Async Processing State mailboxid : a53f4111-b852-e811-9662-00155d0f380f hostid: Null processingstatecode : 0 processinglastattemptedon : 20.12.2018 12:51:47 Mailbox Synchronization Methods (2 is server-side sync or email router, 1 is Outlook sync, 0 is none) incomingemaildeliverymethod : EmailRouter outgoingemaildeliverymethod : EmailRouter actdeliverymethod : OutlookClient Mailbox Enabled State enabledforincomingemail : True enabledforoutgoingemail : True enabledforact : True Mailbox Idle State (shows how many times the mailbox was processed with no email items or Appointments, Contacts and Tasks to synchronize) noemailcount : 3 noactcount : 0 Mailbox Backoff Parameters (shows when the mailbox is scheduled to process next time) postponemailboxprocessinguntil : 20.12.2018 12:56:48 postponesendinguntil : 20.12.2018 11:34:46 receivingpostponeduntil : 20.12.2018 12:54:18 receivingpostponeduntilforact : 08.05.2018 12:26:31 Mailbox Test and Enable Parameters testemailconfigurationscheduled : False testemailconfigurationretrycount : 0 testmailboxaccesscompletedon : 20.12.2018 11:35:37 postponetestemailconfigurationuntil : 20.12.2018 11:40:37 Mailbox Last Sync Cycle Information lastsuccessfulsynccompletedon : 20.12.2018 12:51:48 lastsyncerror: Null lastsyncerrorcode: Null lastsyncerrorcount : 0 lastsyncerroroccurredon : 27.11.2018 08:27:48 lastsyncerrormachinename: Null itemsprocessedforlastsync : 0 itemsfailedforlastsync : 0 Email Server Profile Details Email Server Profile General Settings (servertype: 1 is others, 0 is Exchange) servertype : 0 useautodiscover : False maxconcurrentconnections : 10 minpollingintervalinminutes : 0 Email Server Profile Incoming Email Settings incomingauthenticationprotocol : AutoDetect incomingcredentialretrieval : UserSpecified incominguseimpersonation : False incomingusessl : True incomingportnumber : 443 Email Server Profile Outgoing Email Settings outgoingauthenticationprotocol : AutoDetect outgoingcredentialretrieval : UserSpecified outgoinguseimpersonation : False outgoingusessl : True outgoingportnumber : 443 Recent Trace Log details tracecode : 29 machinename : CRM errortypedisplay : IncomingEmailRejected errordetails: Null collationlevel : 1 modifiedon : 20.12.2018 11:36:26 tracecode : 29 machinename : CRM errortypedisplay : IncomingEmailRejected errordetails : T:250 ActivityId: 8b457bd6-62b7-4312-a187-32f695c24bd0 >Exception : System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeIncomingEmailProvider.SetExtendedPropertyTypes(IExchangeEmailMessage exchangeEmailMessage, ExtendedPropertyType[] extendedProperties) at Microsoft.Crm.Asynchronous.EmailConnector.GetItemsStep.ProcessResponse() collationlevel : 0 modifiedon : 20.12.2018 11:36:26 tracecode : 29 machinename : CRM errortypedisplay : IncomingEmailRejected errordetails : T:250 ActivityId: 8b457bd6-62b7-4312-a187-32f695c24bd0 >Exception : System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeIncomingEmailProvider.SetExtendedPropertyTypes(IExchangeEmailMessage exchangeEmailMessage, ExtendedPropertyType[] extendedProperties) at Microsoft.Crm.Asynchronous.EmailConnector.GetItemsStep.ProcessResponse() collationlevel : 0 modifiedon : 20.12.2018 11:36:26 tracecode : 41 machinename : CRM errortypedisplay : IncomingTestConfigurationSuccess errordetails: Null collationlevel : 1 modifiedon : 20.12.2018 11:35:37 tracecode : 41 machinename : CRM errortypedisplay : IncomingTestConfigurationSuccess errordetails: Null collationlevel : 0 modifiedon : 20.12.2018 11:35:37 tracecode : 29 machinename : CRM errortypedisplay : IncomingEmailRejected errordetails : T:887 ActivityId: 8b457bd6-62b7-4312-a187-32f695c24bd0 >Exception : System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeIncomingEmailProvider.SetExtendedPropertyTypes(IExchangeEmailMessage exchangeEmailMessage, ExtendedPropertyType[] extendedProperties) at Microsoft.Crm.Asynchronous.EmailConnector.GetItemsStep.ProcessResponse() collationlevel : 0 modifiedon : 20.12.2018 11:35:37 tracecode : 127 machinename : CRM errortypedisplay : ExchangeSyncACTDeliveryMethodNotExchangeSynchronization errordetails: Null collationlevel : 1 modifiedon : 20.12.2018 11:34:46 tracecode : 42 machinename : CRM errortypedisplay : OutgoingTestConfigurationSuccess errordetails: Null collationlevel : 1 modifiedon : 20.12.2018 11:34:46 tracecode : 42 machinename : CRM errortypedisplay : OutgoingTestConfigurationSuccess errordetails: Null collationlevel : 0 modifiedon : 20.12.2018 11:34:46 tracecode : 127 machinename : CRM errortypedisplay : ExchangeSyncACTDeliveryMethodNotExchangeSynchronization errordetails: Null collationlevel : 0 modifiedon : 20.12.2018 11:34:46
EDIT5:
Restarted all of this services:
Problem not solved
*This post is locked for comments