[BUG] Microsoft 365 MCP OAuth fails - duplicate 'prompt' parameter (AADSTS9000411)

Resolved 💬 3 comments Opened Apr 16, 2026 by ssopotov-cai Closed Apr 16, 2026

The Microsoft 365 MCP server at microsoft365.mcp.claude.com returns an authorization endpoint URL with prompt=select_account baked in. Claude Code's OAuth client then appends prompt=consent, resulting in a duplicate parameter.

Azure AD rejects this with: AADSTS9000411: The parameter 'prompt' is duplicated.

Full URL generated:

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?prompt=select_account&response_type=code&client_id=...&prompt=consent

Related locked issues: #33028, #21309

OS: Windows 11

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗