"Active Directory operation failed on ..com. The object '' does not exist" error when you run the Hybrid Configuration wizard

Applies to: Exchange OnlineExchange Server 2013 EnterpriseExchange Server 2013 Standard Edition

PROBLEM


You want to set up a hybrid deployment between your on-premises Microsoft Exchange Server organization and Exchange Online in Microsoft Office 365. However, when you run the Hybrid Configuration wizard, the wizard doesn't complete successfully, and you receive an "Active Directory operation failed on <DomainController>.<Domain>.com. The object '<DistinguishedName>' does not exist" error message. The full text of this message resembles the following:
ERROR:Updating hybrid configuration failed with error 'Subtask Configure execution failed: Configure Mail FlowExecution of the Set-ReceiveConnector cmdlet had thrown an exception. This may indicate invalid parameters in your Hybrid Configuration settings. Active Directory operation failed on <DomainController>.contoso.com. The object 'CN=Inbound from Office 365,CN=SMTP Receive Connectors,CN=Protocols,CN’ does not exist.
   at Microsoft.Exchange.Management.Hybrid.RemotePowershellSession.RunCommand(String cmdlet, Dictionary`2 parameters, Boolean ignoreNotFoundErrors)

SOLUTION


Wait 20 minutes, and then rerun the Hybrid Configuration wizard. If the issue persists, contact Microsoft Support, and reference this Knowledge Base article.

MORE INFORMATION


If you experience issues with the Hybrid Configuration wizard, you can run the Exchange Hybrid Configuration Diagnostic. This diagnostic is an automated troubleshooting experience. Run it on the same server on which the Hybrid Configuration wizard failed. Doing this collects the Hybrid Configuration wizard logs and parses them for you. If you're experiencing a known issue, a message is displayed that tells you what went wrong. The message includes a link to an article that contains the solution. Currently, the diagnostic is supported only in Internet Explorer.

Still need help? Go to Microsoft Community or the Exchange TechNet Forums.