HomeServicesManaged IT ServicesAI DeploymentAccredOneInsightsAnswersAboutFree Consultation
Migrations

Exchange Server to Exchange Online Migration Guide 2026

TL;DR

Exchange Server 2016 and 2019 reached end of support on October 14, 2025, and the paid Extended Security Update program for them ends in October 2026. For most organizations still on those versions, the practical path to Exchange Online is a hybrid migration using the Hybrid Configuration Wizard and remote move batches. A cutover works for small organizations (Microsoft supports up to 2,000 mailboxes but recommends 150 or fewer). Staged migration does not apply: Microsoft only supports it for Exchange 2003 and 2007.

  • Inventory mailboxes, public folders, SMTP relay devices and apps before you pick a path.
  • Under 150 mailboxes with no directory sync: consider cutover. Everyone else: plan hybrid.
  • Run the latest Hybrid Configuration Wizard and enable the dedicated Exchange hybrid app, or free/busy and MailTips between the two sides will not work.
  • Move a pilot batch first, then migrate in batches from Exchange admin center > Migration.
  • Decide early whether you will keep an on-premises Exchange server; Microsoft now documents a supported way to remove the last one.

If you still run Exchange Server 2016 or 2019 on-premises, you are running software Microsoft no longer supports. This guide explains which migration paths Microsoft supports for those versions, the exact admin center steps and PowerShell for a hybrid move, and what to check before you turn the old servers off.

Why this matters for small and mid-sized businesses

Exchange Server 2016 and 2019 reached end of support on October 14, 2025 (Microsoft Learn: Exchange Server supportability matrix). The servers keep running, but Microsoft no longer ships fixes for them to customers outside the paid ESU program, and that program ends in October 2026. An internet-facing mail server without security updates is a real risk for a small IT team.

  • Who is affected: any organization with mailboxes, public folders, or even just a "management" Exchange server on 2016 or 2019. That includes companies that already moved mailboxes to the cloud but kept a hybrid server for recipient management or SMTP relay.
  • What breaks: since October 31, 2025, hybrid free/busy, MailTips and profile photos no longer work through the old shared service principal. Servers that are not on a supported build with the dedicated Exchange hybrid app lose those features (Microsoft Learn: Deploy dedicated Exchange hybrid app).
  • Cost of waiting: you either keep paying for and patching servers that will get no more 2016/2019 updates, upgrade to Exchange Server SE, or migrate under pressure after an incident. A planned migration is cheaper than any of those.

What changed

  • Oct 14, 2025: Exchange Server 2016 and 2019 reached end of support. Exchange Server SE is now the only supported on-premises version (Microsoft Learn).
  • Oct 31, 2025: EWS access through the shared Exchange Online service principal was permanently blocked. Hybrid free/busy, MailTips and photos now require the dedicated Exchange hybrid app (Microsoft Learn).
  • Apr 15, 2026: Microsoft announced a "Period 2" Exchange 2016/2019 ESU program covering May through October 2026, with no further extensions (Exchange Team blog; reminder post).
  • May 2026 (Hotfix Update): Exchange Server SE can use Microsoft Graph instead of EWS for most hybrid features (Microsoft Learn).
  • Aug 3, 2026: Cloud-based management of Exchange attributes (moving Exchange-attribute source of authority to Exchange Online) is generally available, including writeback of the mail attribute through Microsoft Entra Cloud Sync. This is what lets you remove the last Exchange server (Microsoft Learn).
  • Oct 21, 2026: Guide reviewed against current Microsoft Learn documentation.

Which migration path fits

PathSupported sourceSize guidanceGood fit when
CutoverExchange 2003 or laterUp to 2,000 mailboxes; Microsoft recommends 150 or fewerSmall org, no directory sync needed, you can switch everyone at once
StagedExchange 2003 and 2007 onlyMore than 2,000 mailboxesNot an option for Exchange 2010, 2013, 2016 or 2019
Hybrid (remote move)Exchange 2010 through SE (see hybrid prerequisites)Any sizeYou sync identities with Entra Connect or Cloud Sync, want users moved in batches with little disruption, or need coexistence for a while

Sources: cutover migration, staged migration, hybrid deployment prerequisites. For a side-by-side comparison, see Exchange hybrid vs cutover migration.

Classic or Modern Hybrid? Classic Hybrid publishes EWS and Autodiscover to the internet so Exchange Online can reach your server. Modern Hybrid installs the Hybrid Agent, which avoids most inbound firewall rules for free/busy and mailbox moves. Modern Hybrid does not support Hybrid Modern Authentication, message tracking or multi-mailbox search across the agent, and SMTP still needs port 25 and a public certificate (Microsoft Learn: Hybrid Agent). For a short migration where inbound HTTPS is hard to open, Modern Hybrid is often enough.

Licensing and prerequisites

RequirementDetails
Microsoft 365 licenseA plan that includes Exchange Online. Hybrid is supported on Microsoft 365 Business Basic, Business Standard, Enterprise, Government, Academic and Midsize plans; Microsoft 365 Apps for business and Home plans do not support hybrid. For remote moves, assign the license after the move completes; you then have 30 days.
On-premises Exchange buildHybrid requires the latest CU (or the one before it) for your version. The dedicated hybrid app needs Exchange 2016 CU23 or 2019 CU14/CU15 with the April 2025 HU, or Exchange Server SE. Any server you plan to keep long term should be Exchange Server SE on Windows Server 2019, 2022 or 2025.
On-premises admin rightsOrganization Management role group to run the Hybrid Configuration Wizard. For cutover, the migration account needs FullAccess on each mailbox or Receive As on the mailbox database.
Cloud admin rightsGlobal Administrator the first time you run the Hybrid Configuration Wizard and to create the dedicated hybrid app through it. Exchange Administrator covers most later Classic Hybrid re-runs and migration batches. If you create the dedicated app with Microsoft's script instead, Application Administrator is the least-privileged Entra role.
Directory syncHybrid: Microsoft Entra Connect Sync or Microsoft Entra Cloud Sync. Cutover: directory sync must be turned off before you start.
Certificates and DNSA certificate from a trusted public CA (no self-signed). For hybrid, the EWS external URL and Autodiscover name must be in the SAN. Your domains must be verified in Microsoft 365.
NetworkClassic Hybrid: TCP 25 and 443 between your Exchange servers and Exchange Online endpoints. Modern Hybrid agent: outbound 443 and 80. Exchange SE servers using the Graph-based hybrid flow need outbound 443 to the Graph endpoint.
ToolsExchange Online PowerShell module (Connect-ExchangeOnline), Exchange Management Shell on-premises, Microsoft Graph PowerShell for tenant checks, and the Microsoft Remote Connectivity Analyzer.

Sources: hybrid deployment prerequisites, Hybrid Configuration wizard permissions, dedicated hybrid app, move mailboxes in hybrid.

Before you start: assess the environment

  • Inventory all mailboxes, sizes, archives, shared and resource mailboxes.
  • Document public folders. They need their own plan, and any left on-premises block removal of the last Exchange server (see how to migrate Exchange public folders).
  • List every device and app that relays mail through Exchange (printers, scanners, line-of-business apps). Removing Exchange removes its receive connectors.
  • Review transport rules, journaling and connectors you need to recreate in Exchange Online.
  • Check Active Directory health and UPNs; hybrid depends on clean directory sync.
  • Check clients. Office 2016 and Office 2019 reached end of support on October 14, 2025 (Microsoft Lifecycle); plan to move users to Microsoft 365 Apps.

Step-by-step: hybrid migration to Exchange Online

  1. Verify your domains. Microsoft 365 admin center > Settings > Domains > Add domain. Add the TXT record to prove ownership.
  2. Sync identities. Install or update Microsoft Entra Connect Sync or Cloud Sync and confirm users appear in Microsoft Entra admin center > Entra Connect.
  3. Test external connectivity. Run the Outlook Autodiscover and EWS tests in the Microsoft Remote Connectivity Analyzer against your Exchange namespace.
  4. Enable MRSProxy on the EWS virtual directory of the servers that will handle moves (the wizard can do this, but Microsoft recommends doing it first).
  5. Run the Hybrid Configuration Wizard. Download the latest version from https://aka.ms/HybridWizard, run it on a domain-joined machine, choose Full Hybrid Configuration, then Classic or Modern topology. Leave the dedicated Exchange hybrid app option selected (it is on by default).
  6. Turn on the dedicated hybrid app. The wizard creates the app but does not enable it. Run the New-SettingOverride command below in the Exchange Management Shell, then clean up old certificates on the shared service principal with Microsoft's ConfigureExchangeHybridApplication.ps1 script.
  7. Move a pilot batch. Exchange admin center > Migration > Add migration batch. Name the batch, choose Migration to Exchange Online, then Remote move migration. Pick the migration endpoint the wizard created, add users manually or from a CSV, choose the target delivery domain (yourtenant.mail.onmicrosoft.com), and set a report recipient and schedule.
  8. Complete batches on your schedule. If you choose to complete the batch manually, Exchange Online keeps each mailbox about 95% synced until you select Complete this migration batch. Complete after hours.
  9. License moved users in Microsoft 365 admin center > Users > Active users > Licenses and apps.
  10. Repeat in batches until all mailboxes are moved, then migrate public folders and repoint relay devices.
  11. Switch MX and Autodiscover to Exchange Online once all mailboxes are in the cloud, update internal DNS too, and clear the Autodiscover service connection point.
  12. Decide on the last server (see Gotchas). Do not uninstall it until you have moved Exchange-attribute management to the cloud or chosen the Management Tools route.

On-premises (Exchange Management Shell):

# Enable MRSProxy before running the wizard
Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -MRSProxyEnabled $true

# After HCW creates the dedicated hybrid app, enable it
New-SettingOverride -Name "EnableExchangeHybrid3PAppFeature" -Component "Global" -Section "ExchangeOnpremAsThirdPartyAppId" -Parameters @("Enabled=true") -Reason "Enable dedicated Exchange hybrid app feature"
Get-ExchangeDiagnosticInfo -Process Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh

# Remove old certificates from the shared service principal (Microsoft script)
.\ConfigureExchangeHybridApplication.ps1 -ResetFirstPartyServicePrincipalKeyCredentials

Exchange Online PowerShell (the wizard normally creates the endpoint for you; these commands show the equivalent and the batch workflow):

Connect-ExchangeOnline -UserPrincipalName admin@contoso.com

# Test the on-premises MRS endpoint
Test-MigrationServerAvailability -ExchangeRemoteMove -RemoteServer mail.contoso.com -Credentials (Get-Credential)

# Create an endpoint only if the wizard did not
$cred = Get-Credential
$ep = New-MigrationEndpoint -ExchangeRemoteMove -Name OnpremEndpoint -Autodiscover -EmailAddress administrator@contoso.com -Credentials $cred

# Pilot batch from a CSV with an EmailAddress column
New-MigrationBatch -Name Pilot1 -SourceEndpoint $ep.Identity -TargetDeliveryDomain contoso.mail.onmicrosoft.com -CSVData ([System.IO.File]::ReadAllBytes("C:\Migration\Pilot1.csv")) -NotificationEmails admin@contoso.com
Start-MigrationBatch -Identity Pilot1

# Watch progress, then finish
Get-MigrationUser -BatchId Pilot1 | Get-MigrationUserStatistics
Complete-MigrationBatch -Identity Pilot1

Microsoft Graph PowerShell (tenant checks):

Connect-MgGraph -Scopes "Organization.Read.All","User.Read.All"

# Confirm directory sync is on and recent
Get-MgOrganization | Select-Object DisplayName, OnPremisesSyncEnabled, OnPremisesLastSyncDateTime

# Confirm a moved user has a license
Get-MgUserLicenseDetail -UserId user@contoso.com | Select-Object SkuPartNumber

If you choose cutover instead

  1. Turn off directory sync, configure Outlook Anywhere with a trusted certificate, and enable MRSProxy.
  2. Give the migration account FullAccess on each mailbox (or Receive As on the database) and unhide any mailboxes hidden from address lists.
  3. Create empty mail-enabled security groups in Microsoft 365 for any groups that must stay security groups.
  4. Exchange admin center > Migration > Endpoints > Add > Outlook Anywhere.
  5. Exchange admin center > Migration > Add migration batch > Migration to Exchange Online > Cutover migration, select the endpoint and schedule.
  6. Lower the MX record TTL ahead of time, switch MX after the batch shows Synced, wait up to 72 hours, then delete the batch and assign licenses within 30 days.

Source: Microsoft Learn: cutover migration.

Gotchas

  • Staged migration is not a path for 2016/2019. Older guides list it, but Microsoft only supports staged migration from Exchange 2003 and 2007.
  • Cutover needs directory sync off. If Entra Connect is already syncing users, cutover is the wrong tool; use hybrid.
  • The dedicated hybrid app is not optional. Without it, on-premises users cannot see free/busy, MailTips or photos for cloud users. Running the wizard and choosing the OAuth option later re-uploads the certificate to the shared service principal, so rerun the clean-up step afterwards.
  • Modern Hybrid limits. No Hybrid Modern Authentication, no message tracking or multi-mailbox search across the agent, a single migration endpoint, and free/busy and moves stop if the registered server is offline.
  • Shared mailboxes must be synced. If a shared mailbox does not show in the batch picker, its AD account is not in sync scope.
  • SMTP relay disappears with Exchange. Move printers and apps to an Exchange Online relay option before you remove the last server.
  • Do not just uninstall the last Exchange server. Either transfer Exchange-attribute management to the cloud first (Set-Mailbox -IsExchangeCloudManaged $true, plus group and contact SOA transfer) and then follow Microsoft's uninstall steps, or use the Exchange Management Tools and shut the server down without uninstalling it. The two routes are not compatible (Microsoft Learn: decommission the last Exchange server).
  • Wait before flipping source of authority. After a move, let directory sync finish and wait an extra 24 hours before setting IsExchangeCloudManaged, or stale values can be written back.
  • Unified Messaging is gone. Disable UM on mailboxes before a cutover and use Cloud Voicemail after.

How to verify it worked

  • Portal: Exchange admin center > Migration shows each batch as Synced or Completed with no failed users. Exchange admin center > Recipients > Mailboxes lists the moved users.
  • Free/busy: from a cloud mailbox, schedule a meeting with an on-premises user and check availability shows (and the reverse).
  • OAuth: on-premises, Test-OAuthConnectivity should return Success with the dedicated app's ID.
  • DNS: Resolve-DnsName shows MX pointing to *.mail.protection.outlook.com and Autodiscover pointing to autodiscover.outlook.com.
# Exchange Online PowerShell
Get-MigrationBatch | Format-Table Identity, Status, TotalCount, SyncedCount, FailedCount
Get-Mailbox -ResultSize Unlimited | Group-Object RecipientTypeDetails | Select-Object Name, Count

# On-premises Exchange Management Shell
Test-OAuthConnectivity -Service EWS -TargetUri https://outlook.office365.com -Mailbox onprem.user@contoso.com
Get-RemoteMailbox -ResultSize Unlimited | Measure-Object

# Any workstation
Resolve-DnsName -Name contoso.com -Type MX
Resolve-DnsName -Name autodiscover.contoso.com -Type CNAME

Frequently Asked Questions

Can we use a cutover migration from Exchange 2016 or 2019? Yes. Microsoft supports cutover from Exchange 2003 or later for up to 2,000 mailboxes, but recommends it for 150 or fewer because every account is created and migrated at once. Directory sync must be off.

Is staged migration still an option? Not for Exchange 2016 or 2019. Microsoft only supports staged migration from Exchange 2003 and 2007. Use hybrid instead.

How much downtime will users experience? With hybrid, mailboxes copy in the background while people keep working, and a short final sync completes the move. Cutover switches everyone at once and users may need a new Outlook profile.

Do we have to keep an Exchange server after migrating? Not anymore. After all mailboxes and public folders are in Exchange Online, you can move Exchange-attribute management to the cloud and follow Microsoft's steps to uninstall the last server. Keep it only if you still need it, for example as an SMTP relay.

Should we upgrade to Exchange Server SE instead? Exchange Server SE is the only supported on-premises version. It suits organizations with a firm reason to keep mail on-premises; most small and mid-sized businesses are better served by Exchange Online.

What about public folders? Treat them as a separate workstream. Migrate them to Exchange Online or, if nothing is worth keeping, remove them. Any public folders left on-premises block removal of the last Exchange server.

Related services

Want a second set of hands on this? Accred Consulting provides Exchange Online migration services for US organizations. Quick answers: hybrid vs cutover, Exchange Server end of support options, and Exchange Online vs Exchange Server SE. For a worked example, read our anonymized case study on Exchange Online migration.

Need help with this?

Accred Consulting can assess your Exchange environment and turn this guidance into a clear migration plan.

Book a Free Consultation Take the 2-minute fit check