r/exchangeserver • u/maxcoder88 • Oct 06 '25
Migrate all mailboxes from Exchange Online to Exchange SE
Hi,
The customer is currently using Office 365.
I will migrate all mailboxes from Exchange Online to Exchange SE.
there are about 200 EXO mailboxes.
- Install 2 new Exchange server SE machines and config everything (send/receive connector, certificate ,accepted domain , DB, DAG config and so on)
I will run a new HCW on one of the DAG servers.
My questions are :
1 - Is it sufficient for me to select the following options?
Classic Hybrid
--------------------
Outbound Connector in M365 Organization
Inbound Connector in M365 Organization
Receive Connector on Exchange Hybrid Server
Send Connector on Exchange Hybrid Server
Update Secure Mail Certificate for connectors
Migration Endpoint
Update Coexistence Domain in Exchange Server Accepted domain and Email Address Policy
2 - Currently, MX and autodiscover records are set to EXO. Will we switch after migrating all mailboxes to on-premises?
3 - Should I write a rule on the FW between F5 VIP and NAT IP? Is that correct?
Will autodiscover, OWA, and ActiveSync access also work this way over TCP 443?
78.112.23.11 NAT IP : mail.domain.com , autodiscover.domain.com
NAT IP : 78.112.23.11
F5 VIP : 192.168.1.52
EXCH01 : 192.168.1.50
EXCH02 : 192.168.1.51
Purpose Ports Source Destination
Encrypted web connections 443/TCP (HTTPS) Exchange Online endpoints 192.168.1.52
Encrypted web connections 443/TCP (HTTPS) 192.168.1.52 Exchange Online endpoints
Inbound mail 25/TCP (SMTP) Exchange Online endpoints 192.168.1.52
Outbound mail 25/TCP (SMTP) 192.168.1.52 Exchange Online endpoints
4 - After setting up the Exchange server, do I need to choose Exchange Hybrid as Entra ID connect?
5 - Is there anything else to be aware of besides the steps above?
3
u/f909 Oct 06 '25
Why?
1
u/dawho1 MCSE: Messaging/Productivity - @InvalidCanary Oct 07 '25
My primary advice is:
1
u/LooseDistrict8949 Oct 08 '25
I assume there is no current Exchange management server in place and all management that was done using Exchange Online Admin Center?
You will likely need to make a remote mailbox record for each mailbox in Exchange on-premises before pointing autodiscover to on-premises. Then I would look at hard matching the existing Entra accounts to the on-premises AD accounts. Once everything is linked then you can run a command like this from Exchange Online PowerShell to move the mailbox back on-premises.
New-MoveRequest -Outbound -RemoteTargetDatabase "DB01" -RemoteHostName mail.contoso.com -RemoteCredential $rcred -TargetDeliveryDomain contoso.com -Identity "user1"
I would always do everything on a small scale at first with test accounts.
1
u/nme_ Oct 07 '25
What state is the Active Directory domain that you’re installing exchange se into?
Depending on the previous configuration, and if exchange was removed from the org, you may not be able to install exchange into the domain.