Blog Post

Exchange Team Blog
1 MIN READ

Now available: OAuth authentication for on-premises Exchange mailbox migrations to Microsoft 365

The_Exchange_Team's avatar
The_Exchange_Team
Platinum Contributor
Nov 09, 2026

We are happy to announce that Microsoft 365 Mailbox Replication Service (MRS) now supports OAuth as an authentication method when migrating mailboxes between Microsoft 365 and an on-premises Exchange environment. OAuth offers a secure alternative to using the Basic authentication credentials (username and password) of a privileged on-premises Active Directory user.

Until now, MRS has not allowed customers to authenticate with OAuth for these migrations. Once OAuth for MRS is configured, tenant administrators can create an OAuth migration endpoint and use it in migration batches or in onboarding and offboarding move jobs. You can use this method in both hybrid and non-hybrid organizations.

OAuth for mailbox migration is available:

  • In Microsoft 365 multi-tenant (WW) environments only. We will have news about availability in other cloud environments over next several months.
  • For on-premises organizations running the October 2026 or newer version of Exchange Server Subscription Edition (SE) or Exchange Server 2019 CU15 with the latest ESU (October 2026).

OAuth is an optional alternative to Basic authentication, not a replacement. No action is required, and your existing migration endpoints and in-progress migrations are not affected.

For step-by-step instructions, see Create migration endpoints with OAuth authentication | Microsoft Learn.

Exchange Online Migration Team

Published Nov 09, 2026
Version 1.0

4 Comments

  • Renat Matveev's avatar
    Renat Matveev
    Brass Contributor

    Tried to do step-by-step with Exchange SE fully patched, with no success.

    https://[Application (client) ID].contoso.com/ews/mrsproxy.svc. The "contoso.com" must be a domain name that you registered for use in your Microsoft Entra ID tenant.

    Any domain I have in the tenant? Can it be tenantName.onmicrosoft.com? Or only my own domains?

    Get-SettingOverride -Component OAuth -Name AudGuidValidation

    There is no parameter Component for Get-SettingOverride cmdlet

    $remoteServer = "Application ID URI host value"

    New-MigrationEndpoint -UseOAuth -Name "OAuthEndpoint" -RemoteServer $remoteServer -ExchangeRemoteMove

    On this last step, I just receive the error that the endpoint is not reachable.

    Decided to stay with Basic auth for MRS until the documentation is written without errors

    • sahernan-MSFT's avatar
      sahernan-MSFT
      Icon for Microsoft rankMicrosoft

      Thank you for the feedback, the documentation will be updated. To clarify on the documentation "The "contoso.com" must be a domain name that you registered for use in your Microsoft Entra ID tenant."

      This should be your own domains. Note the Application ID URI host (e.g., <AppId>.contoso.com) is also the value you pass to New-MigrationEndpoint -RemoteServer, so it must resolve in public DNS to your on-prem Exchange EWS endpoint, be covered by the certificate bound in IIS, and match the AudienceURL in your MRSProxyServiceOAuth setting override.

       An "endpoint not reachable" error usually means this host doesn't resolve or route to your on-premises server. i.e. try browsing to https://<host>/ews/mrsproxy.svc for connectivity validation.

       

  • SzymON222's avatar
    SzymON222
    Brass Contributor

    Is it possible to limit the application to have access to some users (e.g. based on a mail-enabled security group) similar to how it works for cross-tenant mailbox migration?