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.
| When | What Microsoft says (as of November 25, 2026) |
|---|---|
| October 28, 2024 | Announcement: 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 given | Learn: 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.
https://app.vssps.visualstudio.com/oauth2/authorize (response_type=Assertion) and its token and refresh requests to https://app.vssps.visualstudio.com/oauth2/token.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.
https://app.vssps.visualstudio.com/profile/view) lists them under Applications and services; Microsoft's steps have you pick the tenant from the dropdown first, so check each tenant.TF400813.app.vssps.visualstudio.com/oauth2, response_type=Assertion and urn:ietf:params:oauth:grant-type:jwt-bearer. Entra's on-behalf-of flow uses the same grant type, so check which token endpoint a hit calls.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.
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.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.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.
TF401444: Sign-in required is adding the identity to the organization explicitly, with an access level and the required permissions.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.
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.
az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 --query "accessToken" -o tsvgit config --global credential.azreposCredentialType oauth.