Repository navigation
Description
Short summary
The GitHub Copilot app cannot sign in to the remote Azure DevOps MCP server on Windows. Selecting Sign in fails without showing a browser, Microsoft Entra, or WAM prompt. The same remote configuration worked before the app updated on October 12, 2026, and the local Azure DevOps MCP server continues to work with interactive authentication.
Affected version or release
v1.1.28 and v1.1.29
Installation context
GHCP app installed locally on Windows, no particular scope or repo
What happened?
The GitHub Copilot app cannot complete sign-in to the remote Azure DevOps MCP server. When Sign in is selected, authentication fails immediately and no browser, Microsoft Entra, or WAM window appears.
The app reports:
Authentication failed
azure-devops: RPC error -32603: Request session.mcp.oauth.login failed with message:
Microsoft Entra sign-in for https://mcp.dev.azure.com/myorg failed: the Microsoft sign-in
did not complete — the account may be signed out, or an interactive sign-in was declined or cancelled
The MCP configuration was unchanged when the problem began. The same user can sign in to https://dev.azure.com/myorg in a browser without problems.
The failure remains after all other MCP servers are disabled, the GitHub Copilot app is fully closed from the system tray, the app is restarted, and only the Azure DevOps MCP server is enabled. No authentication window appears, including behind other windows.
A second user reproduced the same result on October 16, 2026 after repeating those isolation and restart steps. The second user returned to the local Azure DevOps MCP server because the local server works.
The logs show that the server returns an OAuth challenge and that the Entra account broker has no token it can return without prompting:
2026-10-13T14:12:47.753Z [WARNING] [copilot_runtime::session::mcp::agent_host] HTTP 401 challenge (WWW-Authenticate: resource_metadata="https://mcp.dev.azure.com/.well-known/oauth-protected-resource/myorg") {"server":"azure-devops"}
2026-10-13T14:12:48.956Z [WARNING] [mcp_engine::oauth_entra] Entra scope binding validation bypassed for an unbound scope {"server_url":"https://mcp.dev.azure.com/myorg","scope":"https://mcp.dev.azure.com/.default","environment_variable":"COPILOT_ENTRA_ONEAUTH_SCOPE_BINDING_MODE"}
2026-10-13T14:12:50.019Z [WARNING] [mcp_engine::oauth_entra] the Entra account broker had no token it could return without prompting {"server_url":"https://mcp.dev.azure.com/myorg"}
A related log message states that browser-based OAuth is required, but the app does not open that flow:
[mcp_engine::session_authorizer] MCP OAuth authorization failed; reporting the server as needing auth {"server":"azure-devops","error":"Browser-based OAuth required for https://mcp.dev.azure.com/myorg"}
On October 12, before the scope-binding bypass appeared, strict scope binding rejected the Azure DevOps scope:
2026-10-12T14:12:20.488Z [WARNING] [mcp_engine::oauth_entra] Entra scope binding (strict, the default) rejected a scope whose resource does not bind to this MCP server ... "rejected_scope":"https://mcp.dev.azure.com/.default"
2026-10-12T14:12:20.488Z [WARNING] [mcp_engine::oauth_entra] Entra fast path refused scopes that failed validation or are not bound to the MCP server's own origin
Observed failing attempts in UTC:
- 2026-10-12 15:29
- 2026-10-13 13:31
- 2026-10-13 13:40
- 2026-10-13 13:48
- 2026-10-13 13:52
- 2026-10-13 14:12
Steps to reproduce
-
Configure the remote Azure DevOps MCP server as an HTTP server:
{ "mcpServers": { "azure-devops": { "type": "http", "url": "https://mcp.dev.azure.com/myorg" } } } -
Open the GitHub Copilot app on Windows.
-
Open the MCP server list.
-
Select Sign in for the Azure DevOps MCP server.
-
Observe that no interactive Microsoft Entra, WAM, or browser sign-in window appears.
-
Observe that the app reports the authentication failure.
The issue can also be reproduced after these isolation steps:
- Disable all MCP servers.
- Fully exit the GitHub Copilot app, including its system-tray process.
- Relaunch the app.
- Enable only the remote Azure DevOps MCP server.
- Select Sign in.
- Check behind all open windows for a hidden authentication prompt.
- Observe the same failure with no prompt.
Expected behavior
When the Entra account broker cannot return a silent token, the GitHub Copilot app should start an interactive WAM prompt or fall back to browser-based OAuth.
After interactive authentication succeeds, the remote Azure DevOps MCP server should connect normally.
Additional context
Environment
- Windows device joined to Microsoft Entra ID
AzureAdPrt: YES- PRT valid through October 27, 2026
WamDefaultSet: YES- MCP type:
http - Remote MCP URL:
https://mcp.dev.azure.com/myorg - MCP configuration was unchanged when the issue began
Troubleshooting completed
- Fully exited the GitHub Copilot app, including the system-tray instance, and relaunched it.
- Disabled all MCP servers, restarted the app, and enabled only the Azure DevOps MCP server.
- Checked behind other windows for a hidden Microsoft authentication window.
- Removed and re-added the remote Azure DevOps MCP server.
- Confirmed that the same account can open the Azure DevOps organization in a browser.
- Reproduced the problem with a second user after the same isolation and restart steps.
Suspected cause
The Entra/OneAuth broker path used for MCP OAuth appears to treat no silent token available as a final failure. The logs show that interactive or browser-based OAuth is required, but the app does not launch either flow.
Workaround
Use the local Azure DevOps MCP server.
Related issues
Sounds the same as Authentication failed to Azure DevOps MCP Server #4672
Activity
rpstester commentedon Oct 27, 2026
When the user attempted to show me the issue today, the app updated, and then the authentication worked (went to the web browser). We assume something about the new version fixed the issue.