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

Note The Hybrid Configuration wizard that's included in the Exchange Management Console in Microsoft Exchange Server 2010 is no longer supported. Therefore, you should no longer use the old Hybrid Configuration wizard. Instead, use the Office 365 Hybrid Configuration wizard that's available at http://aka.ms/HybridWizard. For more information, see Office 365 Hybrid Configuration wizard for Exchange 2010.
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 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 or the Exchange TechNet Forums.
Properties

Article ID: 2772596 - Last Review: 05/10/2016 09:30:00 - Revision: 9.0

Microsoft Exchange Online, Microsoft Exchange Server 2010 Enterprise

  • o365 o365a o365e o365022013 o365m hybrid KB2772596
Feedback