web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Mailbox stuck in Email Configuration Test is Scheduled phase

(0) ShareShare
ReportReport
Posted on by 7,396 User Group Leader

Hi,

I have a hybrid setup of Exchange Online and Dynamics 365 v8.2 in on-prem.

The Sever Profile used for config is working fine for other mailboxes in CRM. However, for this Queue Mailbox, it appears to be stuck in Test in Progress stage and also the Emails it's supposed to send out are in Pending Send.

We've set the Incoming to None, Outgoing to SSS.

It's shows Outoging is Success but doesn't complete the testing and hence, correctly enable the mailbox

Any initial thoughts I can start looking at?

I have the same question (0)
  • Sunilmg Profile Picture
    on at

    Hello Priyesh,

    Looks like your queue mailbox is stuck, could you tell me how long has this been stuck?

    Could you Approve and test enabled mailbox again to check for the alerts in the mailbox (in CRM)?

    If you see any alerts, please share it here.

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    It's been stuck since several days now. Did Approve and Enabled it.

    Nothing seem to work.

    Any more thoughts?

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    Note sure if I'm looking at the correct place. But here's what I see in the Error Logs of the Application Server of the CRM

    A Microsoft Dynamics CRM Asynchronous Processing Service operation of type 725ffba9-34ce-e011-b2eb-005056a6002a has failed

    Organization ID: JobId: f367c674-7b45-4db0-9957-dab8c4603699 OrgId:725ffba9-34ce-e011-b2eb-005056a6002a JobType:50; ErrorMessage:Microsoft.Crm.CrmException: Cannot handle more than one error for outgoing email.

    at Microsoft.Crm.CrmException.Assert(Boolean condition, String message)

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailErrorHandler.InternalHandleError(MailboxErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.ErrorHandler`1.HandleError(IErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase.HandleOutgoingEmailError(MailboxErrorInfo errorInfo, IErrorHandler errorHandler, IOutgoingEmailActivity outgoingActivity)

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.HandleOutgoingEmailWithoutAttachmentsError(MailboxErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.SendEmailsWithoutAttachments()

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.SendEmails()

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.Send()

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderBase`1.Run()

    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.CrmException: Cannot handle more than one error for outgoing email.

    at Microsoft.Crm.CrmException.Assert(Boolean condition, String message)

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailErrorHandler.InternalHandleError(MailboxErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.ErrorHandler`1.HandleError(IErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingEmailProviderBase.HandleOutgoingEmailError(MailboxErrorInfo errorInfo, IErrorHandler errorHandler, IOutgoingEmailActivity outgoingActivity)

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.HandleOutgoingEmailWithoutAttachmentsError(MailboxErrorInfo errorInfo)

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.SendEmailsWithoutAttachments()

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.SendEmails()

    at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceOutgoingEmailProvider.Send()

    at Microsoft.Crm.Asynchronous.EmailConnector.OutgoingActivityProviderBase`1.Run()

    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)

  • Sunilmg Profile Picture
    on at

    Hi Priyesh,

    I am not sure these traces are related to particular queue mailbox. When you test enable mailbox, on the left hand side of email configuration window you would see an option called alerts. You will find alerts and error for Incoming, outgoing and ACT, please share those error messages. please find the screen shot example below:

    pastedimage1593766356761v1.png

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    I forgot to mention, no Error alerts too!! The only "Outgoing" which we wish to configure is completed. (We had chosen None for Incoming and Contact/Appointment/Task is disabled because it's a Queue). However, the testing hasn't completed and is still stuck in Test is scheduled mode.

    I tried restarting the async services as well. But it's the same issue.

  • Sunilmg Profile Picture
    on at

    Hi Priyesh,

    Looks like your Mailbox is still stuck processing email. and may be alerts are disabled.

    Please open a Service request with Microsoft to get this handled.

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    I've opened a case though. I've tried enabling Alerts on the mailbox and this is what I see for the pending emails.

    mailboxErr.png

    (The test for some reason just keeps toggling between Test is scheduled and immediately Test is in Progress. And keeps switching momentarily) -

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 120

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 58 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans