Remove EDGE server Create hyrbid connectors

Skip Hofmann 341 Reputation points
2022-04-28T01:04:53.03+00:00

Hello all

We are in a hybrid mail environment with Exchange online. We are running Exchange 22016 onprem . We have two 2016 mailbox servers onprem, and two edge servers in the dmz. We want to remove the edge servers from the environment and send directly to Exchange online from the two onprem mailbox servers. We also want to receive email from exchange online directly to the two 2016 mailbox servers onprem. I understand the process for removing the edge servers from the environment, however i will need to create custom send and receive connectors for hybrid mail flow. Below is what i have put together. Please advice if these connectors will facilitate hybrid mail flow between onprem and online. Also do i need to create the custom receive connector on each 2016 mailbox server?
Thank you very much for any assitance

Send connector
New-SendConnector -Name "PTCTESTtoO365" -AddressSpaces "mycustomdomain.mail.onmicrosoft.com","mycustomdomain.onmicrosoft.com" -CloudServicesMailEnabled:$true -Fqdn mail.mydomain.com -RequireTLS:$true -SmartHosts mycustomdomain-com.mail.protection.outlook.com -TlsAuthLevel CertificateValidation -TlsCertificateName $TLSCertName

Receive connector
New-ReceiveConnector -Name "inbound from O365" -Bindings 12.12.12.120:25 -Fqdn mail.mydomain.com -TlsDomainCapabilities mail.protection.outlook.com:AcceptOorgProtocol -TransportRole FrontendTransport -TlsCertificateName $
TLSCertName -PermissionGroups AnonymousUsers, Partners -AuthMechanism tls -DomainSecureEnabled:$true -EnhancedStatusCodesEnabled:$true -RemoteIPRanges "40.92.0.0/15","40.107.0.0/16","52.100.0.0/14","104.47.0.0/17","2a01:111:f400::/48","2
a01:111:f403::/48"

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,635 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,709 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KyleXu-MSFT 26,281 Reputation points
    2022-04-28T06:59:15.61+00:00

    @Skip Hofmann

    For mail flow in hybrid, enabling and disabling centralized mail transport is different. So, it isn't suggested to create hybrid manually. I would suggest you rerun HCW, it could help you remove mail flow from Edge to Exchange in one step:
    197170-qa-kyle-13-47-02.png

    If you need to customize hybrid connector, you could modify it after HCW creates new connector.

    If you are using Exchange 2010 or earlier which needs to create connector manually, here is configuration for my send connector which may be useful to you: SendConnector
    About receive connectors, it is suggested to use the default receive connector. If you need to create a customized one, here are IP addresses that are used by Exchange online.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.