azureblog.co.uk
← cd ~/posts
Azure · What's new

Exchange Online Admin API: swap your app permissions before 1 December

Apps that call the Exchange Online Admin API with Exchange.ManageV2 or Exchange.ManageAsAppV2 lose access on 1 December 2026. The endpoints stay the same, only the permissions change, and the fix takes ten minutes per app if you find them before Monday.

AzureNEW5 min read✓ checked 27 Nov 2026Exchange Online · Entra ID · What's new
On this page
  1. What's changing
  2. Are you affected?
  3. Find the apps in your tenant
  4. Move an app you own
  5. Third-party tools
  6. My take
  7. Sources

This one is easy to miss because nothing is being switched off. The Exchange Online Admin API keeps its endpoints, its URLs and its operations. What changes is the permission your app needs to call it, and Microsoft wants everyone moved by 30 November. From 1 December, an app that only has the old permission gets refused.

If you've been replacing EWS scripts over the last few months, there's a good chance you built something on this API. Here's how to check, and what to change.

What's changing

Microsoft announced this in message centre post MC1540345 on 5 November. Two permissions on the Office 365 Exchange Online API are being replaced by dedicated Admin API permissions:

Access typeOld permission (retiring)New permission
Delegated (a signed-in admin)Exchange.ManageV2Exchange.AdminAPI.Manage
Application (app-only, no user)Exchange.ManageAsAppV2Exchange.AdminAPI.ManageAsApp

The dates for the worldwide cloud:

  • 1 November 2026: the new permissions became available.
  • 30 November 2026: Microsoft's deadline to finish moving.
  • 1 December 2026: the old permissions are deprecated, and apps that rely only on them lose access to the API.

GCC, GCC High and DoD tenants get longer: their old permissions are deprecated on 1 January 2027.

Are you affected?

Only if something in your tenant calls the Exchange Online Admin API, the REST endpoints under /adminapi/v2.0/. Microsoft built it as the replacement for a handful of admin tasks people used EWS for:

  • reading organisation settings, such as accepted domains, MailTips and mailbox size limits
  • viewing distribution group and dynamic distribution group membership
  • viewing and managing mailbox folder permissions
  • viewing and updating Send on Behalf delegation

That covers scripts your team wrote, and third-party tools that moved off EWS. Calendar delegation and room booking tools are the likeliest candidates, because folder permissions and Send on Behalf were exactly what they used EWS for.

What isn't affected

Exchange Online PowerShell is a different permission. If you run Connect-ExchangeOnline with a certificate in an Azure Automation runbook or a scheduled task, your app uses Exchange.ManageAsApp, without the V2 on the end. That isn't part of this change. Don't remove it.

permissions such as Mail.Read aren't affected either.

Find the apps in your tenant

An app holds an Exchange permission in one of two ways: an app role assignment for app-only access, or a grant. This script checks both against the Office 365 Exchange Online and lists every app still holding an old permission. It only reads, so it's safe to run.

Connect-MgGraph -Scopes "Application.Read.All", "DelegatedPermissionGrant.Read.All"

# Office 365 Exchange Online's service principal in your tenant
$exo = Get-MgServicePrincipal -Filter "appId eq '00000002-0000-0ff1-ce00-000000000000'"

# App-only: apps assigned Exchange.ManageAsAppV2
$oldRole = $exo.AppRoles | Where-Object Value -eq "Exchange.ManageAsAppV2"
Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $exo.Id -All |
    Where-Object AppRoleId -eq $oldRole.Id |
    Select-Object PrincipalDisplayName, PrincipalId, @{n="Permission";e={"Exchange.ManageAsAppV2"}}

# Delegated: consent grants that include Exchange.ManageV2
Get-MgOauth2PermissionGrant -Filter "resourceId eq '$($exo.Id)'" -All |
    Where-Object { ($_.Scope -split " ") -contains "Exchange.ManageV2" } |
    ForEach-Object {
        [pscustomobject]@{
            App        = (Get-MgServicePrincipal -ServicePrincipalId $_.ClientId).DisplayName
            Permission = "Exchange.ManageV2"
            Consent    = $_.ConsentType   # AllPrincipals = admin consent
        }
    }

No results means nothing in your tenant has been granted the old permissions, and you can stop here. At Contoso it found two: a folder permissions script the service desk uses, and a room booking product that had moved off EWS in the summer.

If you'd rather click, open Enterprise applications in the Entra admin centre, open each likely app, and look under Permissions for either old name.

Move an app you own

  1. Open the in the Entra admin centre and go to API permissions.
  2. Select Add a permission, then the APIs my organization uses tab, and search for Office 365 Exchange Online.
  3. Add Exchange.AdminAPI.ManageAsApp under Application permissions, or Exchange.AdminAPI.Manage under Delegated permissions, to match the one you're replacing.
  4. Select Grant admin consent.
  5. Check the Exchange roles are still in place. The permission only lets the app call the API; the roles assigned to the user (delegated) or the service principal (app-only) still decide what it can actually do.
  6. Run the script or tool and confirm it works. If it caches tokens, get a fresh one so the new permission is included.
  7. Remove the old permission once you're happy.

Your code shouldn't need to change. App-only scripts still request the https://outlook.office365.com/.default scope, which returns whatever permissions the app has been granted. Only update code if it asks for the old scope by name, or a consent link or deployment template lists the old permission.

Third-party tools

If a vendor's app turns up in the script output, ask them whether they've updated it. For a multi-tenant app, they need to add the new permission on their side, and you'll then grant consent again in your tenant. With a working day left before the deadline, it's worth sending that email today rather than finding out on Tuesday morning that delegation stopped syncing.

My take

This is the sort of change that's simple once you know about it and confusing if you don't. Nothing errors until the day it stops working, and then you get an access denied with no obvious cause. Run the script now. Most tenants will get an empty result and can move on. If yours doesn't, you've still got time to fix it before Monday.

Sources

More on Exchange Online →

Spotted something out of date or wrong? Tell us and we'll fix it.