docs: note Azure DevOps global PAT retirement + draft plan 002#16
Merged
Conversation
PAT sign-in currently requires an 'All accessible organizations' scoped PAT to enumerate multiple orgs via app.vssps.visualstudio.com/_apis/accounts. Microsoft is retiring global PATs on 1 Dec 2026 (aka.ms/GlobalPATDeprecation). Recommend Microsoft sign-in as the durable path; multi-org PAT support after the retirement is tracked as plan 002.
Design doc only. Combines options 2+3 from the Global PAT deprecation discussion: try _apis/accounts first, fall back to per-organization PAT flow if the global endpoint returns 0 orgs, 401/403 or a network error. Adds an 'Add another organization' command that layers additional per-org PATs on top.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two documentation-only commits related to the Azure DevOps global PAT retirement announced for 1 December 2026 (aka.ms/GlobalPATDeprecation).
1. docs: note Azure DevOps global PAT retirement (Dec 1, 2026) (572ae71)
src/vscode/README.md+src/vs2026/README.mdAll accessible organizationsscope so_apis/accountscan enumerate every org.app.vssps.visualstudio.com/_apis/accounts);[Unreleased] > Documentationentry.2. docs(specify): draft plan 002 - PAT sign-in per-organization fallback (d1ffa4c)
New design document at
.specify/plans/002-pat-per-org-fallback.md(linked from the READMEs above). Design summary:_apis/profile/profiles/me+_apis/accounts) as the first attempt.200+ empty list,401/403, or network /5xx-> fall back to a per-organization flow: prompt for org name, verify withGET dev.azure.com/{org}/_apis/projects?$top=1&api-version=7.1, then persist the PAT under a per-org key (pipelinesexplorer.pat.org.{org}in VS Code SecretStorage;PipelinesExplorer/pat/{org}in Windows Credential Manager for VS 2026).ResetandSign outwipe every per-org slot.Also updates
.specify/plans/_backlog.md: plan 001 -> Done, plan 002 -> Draft.No code changes / no version bump
Docs-only. Per the release matrix in
.github/instructions/project.instructions.md, this batch lands in the[Unreleased]section of the CHANGELOGs and does not warrant a release.Verification
git log --oneline main..HEAD-> two commits above.src/vscode/src/orsrc/vs2026/*.cstouched -> no build required.