Monday, January 18, 2016

Exchange Hybrid - Route all outgoing mail out Exchange Online Protection (O365)

I wanted to put this up here to remember it.  In certain hybrid deployments, a customer will want to flip all mail flow from their hybrid to Exchange Online Protection before all mailboxes are moved.  After updating the MX Records to point to EOP, This command will create a send connector to route the on-prem mail out O365 EOP.


New-SendConnector -Name "Outbound to Internet via O365" -AddressSpaces * -CloudServicesMailEnabled $true -Fqdn "webmail.domain.com (SSL address use in hybrid config)" -RequireTLS $true -SmartHosts yourdomain-com.mail.protection.outlook.com -TlsAuthLevel CertificateValidation


Don't forget to disable the old "Internet" connector and verify mail is flowing correctly by using the message analyzer tab on the MS Remote Connectivity Analyzer"

No comments:

Post a Comment