Hi everyone,
We are getting this error in our DEV instance of . Did anyone know how to solve this issue?
The following information was included with the event:
Host server : 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