r/exchangeserver • u/maxcoder88 • Sep 15 '26
Exchange SE migration behind existing F5 LB (Hybrid + Modern Auth) — when exactly should new servers go live in the pool?
Environment:
- 2 existing Exchange servers in a DAG, sitting behind an F5 load balancer
- Exchange Hybrid configured
- Modern Auth (OAuth) enabled
- Building 2 new Exchange SE servers on Windows Server 2025
Steps completed/planned so far:
- Set Client Access URI
- Configure the URLs on new servers (virtual directories)
- Export and install the 3rd-party SSL certificate on new Exchange servers
- Create Database Availability Group(s)
- Configure connectors
- Add new Exchange SE servers to the
SourceTransportServersfor all Send Connectors
My question:
Given this setup (existing DAG + F5 LB + Hybrid + Modern Auth), at what exact point in the process should I add the new Exchange SE servers into the F5 pool and start sending live client traffic to them, with zero impact to existing clients?
Specifically I'm trying to figure out:
- Should I validate OWA/ECP/Autodiscover/EWS directly against the new server FQDNs (bypassing the F5) before adding them to the pool at all?
- With Modern Auth + Hybrid in play, is there a specific dependency (e.g., Hybrid Configuration Wizard re-run, OAuth certificate/endpoint validation) that must complete before the new servers can safely receive live client connections through the LB?
- Should the new servers be added to the F5 pool in a "disabled/drain" state first (so health checks pass but no real traffic hits them), then only fully enabled after pilot mailbox migration succeeds?
- Is there a risk of session/auth token issues if Modern Auth clients get load-balanced to a new server before all mailboxes are migrated, given both old and new servers are technically part of the same org/DAG topology?
Would really appreciate a clear sequencing answer from anyone who's done Exchange SE cutovers with Hybrid + Modern Auth + F5 recently — trying to avoid any client-facing disruption during the switch.
2
u/7amitsingh7 Sep 16 '26
The safest approach is to fully configure and test the new Exchange SE servers directly first, without sending production traffic through the F5. Validate OWA, ECP, EWS, Autodiscover, mail flow, OAuth/Modern Auth, and Hybrid functionality. Once everything works, add the new servers to the F5 pool in a disabled/drain state, verify the health checks, and then enable them gradually with a pilot user before sending normal client traffic. You do not need to wait until all mailboxes are migrated. For more details on the Hybrid migration process and moving Exchange mailboxes to Microsoft 365, you can also refer to this guide on Hybrid Migration.
3
u/Vietnamst2 Sep 15 '26
As soon as those SE servers are setup and have first mailbox. Proxying is supported from newer to older vesrions and not vice versa.
1
u/titlrequired Sep 15 '26
1, no reason why not if you can address the server and bypass the F5.
2, can’t think of anything specific the wizard does for that, as long as the server URLs match the ones configure for HMA
3, no reason why not, although not personally familiar with F5 but have worked in projects where they were a consideration.
4, I don’t think that should matter because it should proxy the requests via exchange backend to get the mailbox information.
Are these just new SE servers to an existing SE DAG or are you on 2016/9 moving to SE?
1
u/uLmi84 Sep 15 '26
When looking at these posts i get reminded how less I really understand about exchange onprem.
As much as I like it I think its become very difficult to maintain
1
u/ceyhun-kirmizitas Sep 21 '26
I would keep the new SE servers out of the active F5 pool until the direct tests are clean.
For testing, I would not use the server FQDN if your certificate and HMA configuration use something like mail.contoso.com. I normally override DNS/hosts on a test client and point the production namespace to one new server at a time. This way you test the same URL, certificate and authentication path that clients will use through F5.
Before enabling the pool member, I would check:
Then add the server to F5 disabled/drained, let the health checks pass, enable one server, test it, and then enable the second one.
I would not rerun HCW just because the servers are being added to the load balancer if the Hybrid namespaces and configuration are not changing. For HMA, I would validate the OAuth configuration on the new servers first.
I also use this read-only script to compare Exchange URLs and authentication settings before putting new servers behind the load balancer: https://ceyhunkirmizitas.net/get-exchange-server-urls-authentication-powershell/
MS Ref: https://learn.microsoft.com/en-us/microsoft-365/enterprise/configure-exchange-server-for-hybrid-modern-authentication
1
u/ceyhun-kirmizitas Oct 02 '26
Before enabling the new SE servers in the F5 pool, I would also compare their Client Access configuration with the existing Exchange servers.
URLs may look correct at first glance, but I would check OWA, ECP, EWS, MAPI, ActiveSync, OAB, Autodiscover SCP, Outlook Anywhere and the relevant authentication settings together.
I recently published ExchangeURLManager.ps1 for this part of the migration workflow.
It can compare the existing and new Exchange servers first. Clone is comparison-only by default, and supported authentication settings can also be included explicitly when needed.
It does not replace the F5, certificate, Hybrid or Modern Auth validation, but it is useful for confirming that the Client Access configuration on the new nodes is aligned before putting them into live rotation.
GitHub:
https://github.com/Ceyhun-Kirmizitas/ExchangeURLManager.ps1
Usage examples and screenshots:
https://ceyhunkirmizitas.net/manage-exchange-server-urls-powershell/