Hi Everyone,
We are facing this issue on our DEV instance and we are not getting this issue in other instances. This error is occurring continuously for every sec more than 10-15 times. How can we resolve this issue.
I found this error description in event viewer. Any suggestion will be most appreciated.
We checked there are no system jobs running in background and no workflows and plugins as well.
Host name: A Microsoft Dynamics CRM Asynchronous Processing Service operation of type <guid> has failed
Organization ID: JobId: <guid> OrgId:<guid> JobType:50; ErrorMessage:Microsoft.Crm.CrmArgumentNullException: mailboxAccessConfiguration ---> System.ArgumentNullException: Value cannot be null.
Parameter name: mailboxAccessConfiguration
--- End of inner exception stack trace ---
at Microsoft.Crm.Asynchronous.EmailConnector.CrmSdkRequestExecutor..ctor(IOrganizationService crmOrganizationService, IActivityProviderContext activityProviderContext, IMailboxAccessConfiguration mailboxAccessConfiguration)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase..ctor(IEmailProviderContext context, IMailboxDataAccessFactory mailboxDataAccessFactory)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.AddActivityToInvalidEmailProvider(Entity activity, Guid mailboxId)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.ProcessEmail(Entity email)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.GetProviders()
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityOperation.InternalExecute(ActivityAsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventHandlerCommand`1.Execute(IAsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteCommand(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager) ErrorAction:Fail Exception:Unhandled Exception: Microsoft.Crm.CrmArgumentNullException: mailboxAccessConfiguration
at Microsoft.Crm.Asynchronous.EmailConnector.CrmSdkRequestExecutor..ctor(IOrganizationService crmOrganizationService, IActivityProviderContext activityProviderContext, IMailboxAccessConfiguration mailboxAccessConfiguration)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase..ctor(IEmailProviderContext context, IMailboxDataAccessFactory mailboxDataAccessFactory)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.AddActivityToInvalidEmailProvider(Entity activity, Guid mailboxId)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.ProcessEmail(Entity email)
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderFactory.GetProviders()
at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityOperation.InternalExecute(ActivityAsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventHandlerCommand`1.Execute(IAsyncEvent asyncEvent)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteCommand(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)
at Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager)
Inner Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: mailboxAccessConfiguration
Organization Unique Name: %4
Error code: %5
Error description: %6
Thank you,