Visitar URL original
Switch to publishing extensions using Azure Entra IDs instead of PATs · Issue #6152 · Dart-Code/Dart-Code · GitHub
Skip to content

Switch to publishing extensions using Azure Entra IDs instead of PATs #6152

Description

@DanTup

At the end of the year, we won't be able to publish extensions using PATs any more.

Action required: Azure DevOps global PATs are retiring

Global PATs allow a single token to access all Azure DevOps organizations you belong to. To reduce risk from broadly scoped credentials and support regional data requirements, this token type is being retired.

You’re receiving this email because one or more global personal access token(s) associated with your account was used in 1 organization(s) in the last 30 days.

My request to support organization-scoped PATs has not been responded to (microsoft/vsmarketplace#2121).

However, the Publishing Extensions Docs has been updated to say:

Important

On December 1, 2026, global Personal Access Tokens (PATs) in Azure DevOps are retired. To keep publishing extensions, use secure automated publishing with Microsoft Entra ID instead of PATs. For more information, see Retirement of global Personal Access Tokens in Azure DevOps.

We should figure out the best way forward here.

Activity

  1. added this to the v3.142.0 milestone on Aug 24, 2026
  2. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 24, 2026
  3. DanTup commented on Aug 24, 2026

    @DanTup
    MemberAuthor

    Comments in nimbus-agent/nimbus-vscode#34 suggest an organization-scoped PAT might work, so perhaps we should test this with the next release (or pre-release).

  4. self-assigned this
    on Aug 24, 2026
  5. modified the milestones: v3.142.0, v3.144.0 on Aug 26, 2026
  6. changed the title [-]Switch to secure automated publishing for extensions instead of PATs[/-] [+]Switch to publishing extensions using Azure Entra IDs instead of PATs[/+] on Sep 8, 2026
  7. DanTup commented on Sep 8, 2026

    @DanTup
    MemberAuthor

    Re-reading https://code.visualstudio.com/api/working-with-extensions/publishing-extension#secure-automated-publishing-to-visual-studio-marketplace, it seems like we might not need to completely automate this - the instructions show how to generate a Microsoft Entra ID (AAD) access token via Azure CLI. It's not clear what the lifetime of that is, but it might be that at least part of the workflow just needs to be done once and then publishing can still be done from the CLI. Edit: I think this is untrue?

    (that said, it might still be nice to automate the whole thing)

  8. modified the milestones: v3.144.0, v3.146.0 on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions