BestPaid guides · Azure DevOps · Microsoft Entra ID

Azure DevOps OAuth is scheduled for removal in 2026: move your integrations to Microsoft Entra ID OAuth

Apps registered for Azure DevOps OAuth, the sign-in flow at app.vssps.visualstudio.com/oauth2, stop working when Microsoft removes the platform in 2026. As of November 25, 2026, Microsoft hasn't named the day. Here is what Microsoft documents, how to find affected apps, and how to move each to Microsoft Entra ID.

Sources: Microsoft Learn: Azure DevOps OAuth and OAuth scopes (last updated July 14, 2025), Entra OAuth apps (May 8, 2026), Entra ID authentication, service principals and managed identities and PATs (all September 21, 2026), authentication methods (August 5, 2026), .NET samples (March 4, 2026), connection policies (September 24, 2026), authorizations (March 10, 2026), PAT policies (April 22, 2026) and Azure CLI tokens (September 17, 2025). Azure DevOps blog: no new OAuth apps (October 28, 2024), secret clean-up (April 23, 2025), secrets shown once (August 13, 2025), Entra scopes (September 28, 2023), reducing PATs (January 6, 2025) and global PATs (December 12, 2025, updated October 23, 2026). Checked on November 25, 2026. This page is our own summary; follow the vendor's documentation for every detail.

What Microsoft says, and when

WhenWhat Microsoft says (as of November 25, 2026)
October 28, 2024Announcement: no new registrations, end of life in 2026; the official date was to be announced in 2025.
April 23, 2025 (passed)New app registrations stop. Learn gives only the month: April 2025.
2026, no day givenLearn: Azure DevOps OAuth is "scheduled for removal in 2026"; existing apps stop working when the service is fully deprecated.

No exact day: as of November 25, 2026, neither Learn nor the Azure DevOps blog names a day, month, grace period or extension, or says whether issued access and refresh tokens stop at once or in stages. Plan for a cutoff at any time.

What stops working, and what doesn't

Who is affected

Owners of Azure DevOps OAuth registrations and everyone who authorized them. Microsoft's notice covers every existing Azure DevOps OAuth app. In practice (our examples, not Microsoft's list) that can mean third-party integrations; build, test and reporting tools; a Marketplace extension's back end that signs users in this way; internal portals and bots. For extensions running inside Azure DevOps, Microsoft's guide lists a separate method: the web extension SDK. After the move, every user authorizes again: Microsoft says Entra and Azure DevOps OAuth tokens aren't interchangeable.

Microsoft accounts: the Entra OAuth page (last updated May 8, 2026) says Entra apps don't natively support Microsoft account (MSA) users for the Azure DevOps resource, calls Azure DevOps OAuth apps the best option for apps that must serve them, and says native support is in the works, while the deprecation pages make no exception. As of November 25, 2026, we found nothing reconciling the two; if your users have Microsoft accounts, ask Microsoft first.

1. Find every Azure DevOps OAuth app

Keep each old app alive until its users move. In April 2025 Microsoft said it would regularly remove registrations whose secrets expired more than 180 days ago, and new secrets now default to a 60-day lifespan; since September 2, 2025 they are shown only once. Delete the registration last: deletion breaks the app and its tokens at once.

2. Apps that act for a signed-in user: Microsoft Entra ID OAuth

  1. Register the app in the Microsoft Entra admin center (Entra ID → App registrations → New registration): Single tenant only for an internal app, Multiple Entra ID tenants for a product other organizations use. Add your redirect URI.
  2. API permissions → Add a permission → Azure DevOps (instead of Microsoft Graph) → delegated permissions: the scopes your old app had, such as vso.code or vso.work_write. Microsoft says both platforms use the same scope definitions; in Entra they exist only as delegated permissions. Avoid user_impersonation, which grants full REST API access. Users or an admin consent, depending on tenant settings.
  3. Get tokens with MSAL. Microsoft's .NET samples request https://app.vssps.visualstudio.com/.default, which covers every permission configured on the app; the Azure DevOps resource ID is 499b84ac-1321-427f-aa17-267ca6975798. For a desktop or CLI tool:
    using Microsoft.Identity.Client;
    
    string[] scopes = { "https://app.vssps.visualstudio.com/.default" };
    var app = PublicClientApplicationBuilder.Create(clientId)
        .WithRedirectUri("http://localhost")
        .WithAuthority(new Uri($"https://login.microsoftonline.com/{tenantId}"))
        .Build();
    
    AuthenticationResult result;
    try
    {
        var account = (await app.GetAccountsAsync()).FirstOrDefault();
        result = await app.AcquireTokenSilent(scopes, account).ExecuteAsync();
    }
    catch (MsalUiRequiredException)
    {
        result = await app.AcquireTokenInteractive(scopes).ExecuteAsync();
    }
    // Call https://dev.azure.com/{organization}/_apis/... with
    // Authorization: Bearer {result.AccessToken}
    Web apps keep the authorization code flow, now through MSAL and Entra; browserless tools can use AcquireTokenWithDeviceCode.
  4. If you stored Azure DevOps user IDs, match them to Entra identities with the ReadIdentities API. Treat tokens as opaque: Microsoft says not to parse Entra access tokens, and its authentication methods page says Azure DevOps has been further encrypting authentication tokens since summer 2025, so code that decodes claims breaks.

3. Automation without a user: service principals and managed identities

Microsoft prefers a managed identity on Azure and, elsewhere, a service principal with workload identity federation or a certificate; it says to create a client secret only when the workload can't use a stronger credential. Both need an organization connected to a Microsoft Entra tenant, and neither can use Azure DevOps OAuth flows or create PATs.

using Azure.Core;
using Azure.Identity;

// On Azure: managed identity. Elsewhere: new ClientCertificateCredential(tenantId, clientId, certPath)
var credential = new ManagedIdentityCredential(ManagedIdentityId.SystemAssigned);
AccessToken token = await credential.GetTokenAsync(
    new TokenRequestContext(new[] { "https://app.vssps.visualstudio.com/.default" }));
// Send token.Token as a Bearer token; reuse the credential so it caches and renews tokens.

4. Cut down personal access tokens too

Microsoft's guidance: use PATs sparingly, only where Entra ID isn't available, and not as long-term credentials for production services. If a tool can't use Entra, give it an organization-scoped PAT with minimal scopes and the shortest practical lifetime.

Integrations still on Azure DevOps OAuth or PATs? We move Azure DevOps integrations, build tools and scripts from Azure DevOps OAuth and personal access tokens to Microsoft Entra ID at a fixed price: a script or tool from $690, an app or service from $1,490. One integration gets a free estimate within 2 business days. We never ask for passwords, secrets or admin access: your admin registers the app and grants consent.
See the Microsoft 365 migration offer