MCP ms365: OAuth URL contains duplicate 'prompt' parameter
Resolved 💬 2 comments Opened Apr 1, 2026 by olivier-momas Closed Apr 28, 2026
Bug Description
The MCP ms365 authentication flow generates an OAuth URL with the prompt parameter duplicated, causing Microsoft Azure AD to reject the request.
Error Message
AADSTS9000411: The request is not properly formatted. The parameter 'prompt' is duplicated.
Steps to Reproduce
- In Claude Code CLI, trigger ms365 authentication
- The generated URL contains both
prompt=select_accountANDprompt=consent - Microsoft rejects with AADSTS9000411
Environment
- Claude Code CLI (terminal)
- macOS
- Note: MCP ms365 works in Claude Cowork (desktop)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗