You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: Entra broker token cache stays 0 bytes after MCP sign-in, so every new process re-prompts #5236
After I sign in through the Microsoft Entra account broker for an HTTP MCP server, the token cache file stays empty. Every new process shows the account picker again. A /restart in the same process does not prompt.
~\.copilot\entra-broker-accounts\<id>.bin is written (1,974 bytes) when I pick the account. ~\.copilot\entra-broker-cache\<id>.bin stays at 0 bytes. I did not read the file contents.
Affected version
1.0.103
Steps to reproduce the behavior
Add an HTTP MCP server that uses Entra sign-in to ~\.copilot\mcp-config.json: {"mcpServers": {"EngHub": {"type": "http", "url": "https://mcp.eng.ms", "tools": ["*"]}}}
Start a session. The CLI shows Authenticating: EngHub and the Windows "Pick an account" dialog.
Pick the signed-in account. Authentication succeeds.
Check the file sizes in ~\.copilot\entra-broker-cache\ and ~\.copilot\entra-broker-accounts\. The cache file is 0 bytes.
Exit and start a new session. The account picker shows again.
Run /restart in a running session. No prompt shows.
Expected behavior
The token is saved in entra-broker-cache. A new process signs in silently without the account picker.
Additional context
OS: Windows, x64
Shell: PowerShell
Launched with agency copilot (Agency 2026.10.20.6)
I deleted the empty cache file and signed in again. It was recreated at 0 bytes.
Activity