"The SMTP address template is invalid" error when you run the Hybrid Configuration wizard

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, you receive the following error message:
ERROR: Updating hybrid configuration failed with error 'Subtask Configure execution failed: Configure Recipient Settings

Execution of the Set-EmailAddressPolicy cmdlet had thrown an exception. This may indicate invalid parameters in your Hybrid Configuration settings.

The SMTP address template 'smtp:%m@contoso.mail.onmicrosoft.com' is invalid because it references a domain that isn't configured as an accepted domain for your organization.

CAUSE

This problem occurs if the accepted domain that's mentioned in the error message is set as an external relay domain.

SOLUTION

Set the domain type of the on-premises domain to authoritative or internal relay, as appropriate for your situation. To do this, open the Exchange Management Shell on the on-premises server, and then run the following command:
Set-AcceptedDomain -Identity Contoso.Mail.Onmicrosoft.Com -DomainType <Authoritative or InternalRelay> 

MORE INFORMATION

Still need help? Go to Microsoft Community or the Exchange TechNet Forums.
Właściwości

Identyfikator artykułu: 3060864 — ostatni przegląd: 21.12.2016 — zmiana: 1

Opinia