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:%firstname.lastname@example.org' is invalid because it references a domain that isn't configured as an accepted domain for your organization.
Set-AcceptedDomain -Identity Contoso.Mail.Onmicrosoft.Com -DomainType <Authoritative or InternalRelay>
Article ID: 3060864 - Last Review: Dec 21, 2016 - Revision: 1