Microsoft Authentication is not persisted. Getting asked for MS authentication again and again

Open
#320,776 2 comments 4 reactions 1 assignee View on GitHub

@TylerLeonhardt is already working on this.

Since Jun 10, 2026.

Assessment

This issue has not been assessed yet.

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
  • Version: 1.124.0 (user setup)
    Commit: 1b50d58d73426c9171299ec4037d01365d995b78
    Date: 2026-06-09T21:29:32-07:00
    Electron: 42.2.0
    ElectronBuildId: 14159160
    Chromium: 148.0.7778.97
    Node.js: 24.15.0
    V8: 14.8.178.14-electron.0
    OS: Windows_NT x64 10.0.26200
  • OS Version: Windows 11 25H2

Steps to Reproduce:

  1. Launch with code --disable-extensions
  2. Create an http type Remote ADO MCP Server: https://github.com/microsoft/azure-devops-mcp#-remote-mcp-server-recommended into mcp.json (mcp.json in User scope or workspace does not matter)
  3. Start this MCP server
  4. Sign in succesfully with your Microsoft Account
  5. The Microsoft account won't be persisted. Microsoft won't be shown in bottom left "Accounts" tab.
  6. At every task that requires a Microsoft Authentication, you will be prompted again and again....
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.