Error when you run the Hybrid Configuration Wizard: "Updating hybrid configuration failed with error 'Subtask CheckPrereqs execution failed: Check Prerequisites'"

Article translations Article translations
Article ID: 2772596 - View products that this article applies to.
Expand all | Collapse all

PROBLEM

When you run the Hybrid Configuration Wizard to set up a hybrid deployment between your on-premises Microsoft Exchange Server environment and Microsoft Exchange Online in Microsoft Office 365, you receive the following error message:
Update-HybridConfiguration
Failed
Error:
Updating hybrid configuration failed with error 'Subtask CheckPrereqs execution failed: Check Prerequisites
"" isn't a valid SMTP domain.
at Microsoft.Exchange.Data.SmtpDomainWithSubdomains..ctor(String s, Boolean includeSubdomains)
at Microsoft.Exchange.Management.Hybrid.GlobalPrereqTask.IsValidCert(String exchangeServerName)
at Microsoft.Exchange.Management.Hybrid.GlobalPrereqTask.CheckPrereqs(ITaskContext taskContext)
at Microsoft.Exchange.Management.Hybrid.Engine.ExecuteTask(TaskBase taskBase, TaskContext taskContext)
Additionally, when you view the Hybrid Configuration Wizard log file, you receive the following error message:
[Date Time] INFO:Running command: Get-ExchangeCertificate -Server 'EARTH-MPLS-EXC1'
[Date Time] INFO:Cmdlet: Get-ExchangeCertificate --Start Time: 5/24/2012 1:55:50 PM.
[Date Time] INFO:Cmdlet: Get-ExchangeCertificate --End Time: 5/24/2012 1:55:50 PM.
[Date Time] INFO:Cmdlet: Get-ExchangeCertificate --Processing Time: 405.6052.
[Date Time] INFO:Disconnected from On-Premises session
[Date Time] INFO:Disconnected from Tenant session
[Date Time] ERROR:Updating hybrid configuration failed with error 'Subtask CheckPrereqs execution failed: Check Prerequisites
"" isn't a valid SMTP domain.
at Microsoft.Exchange.Data.SmtpDomainWithSubdomains..ctor(String s, Boolean includeSubdomains)
at Microsoft.Exchange.Management.Hybrid.GlobalPrereqTask.IsValidCert(String exchangeServerName)
at Microsoft.Exchange.Management.Hybrid.GlobalPrereqTask.CheckPrereqs(ITaskContext taskContext)
at Microsoft.Exchange.Management.Hybrid.Engine.ExecuteTask(TaskBase taskBase, TaskContext taskContext)

This issue occurs if a certificate that's installed on the hybrid server that's running Microsoft Exchange Server 2010 Service Pack 2 (SP2) or a later version is missing a subject name. The certificate is validated by the hybrid server even if it's not used for hybrid mail flow. 

SOLUTION

Remove the invalid certificate from the hybrid server. After the invalid certificate is removed, the wizard should successfully complete the process. 

MORE INFORMATION

For more information about how to manage certificates in Exchange Server 2010, go to the following Microsoft TechNet websites:

Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2772596 - Last Review: July 9, 2014 - Revision: 5.0
Applies to
  • Microsoft Exchange Online
  • Microsoft Exchange Server 2010 Enterprise
  • Microsoft Exchange Server 2010 Service Pack 2
Keywords: 
o365 o365a o365e o365022013 o365m hybrid KB2772596

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com