A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Got the exact same issue here! Would be great to find a solution for this.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm reporting a regression in IMAP OAuth authentication for consumer Outlook.com accounts that started recently.
ISSUE SUMMARY:
IMAP connections fail immediately after successful OAuth authentication. The server accepts the OAuth token but returns a BAD response to the NAMESPACE command with the error: "User is authenticated but not connected."
WHAT CHANGED:
TECHNICAL DETAILS:
Authentication Endpoint: https://login.microsoftonline.com/common
OAuth Scopes:
IMAP Server: outlook.office365.com:993
Account Type: Consumer Outlook.com (personal Microsoft account)
ERROR SEQUENCE:
ERROR MESSAGE:
The IMAP server replied to the 'NAMESPACE' command with a 'BAD' response: User is authenticated but not connected.
WHAT THIS MEANS:
The IMAP server is accepting my OAuth token for authentication but then refusing to establish an authenticated session for subsequent IMAP protocol commands. This makes IMAP completely unusable despite having valid OAuth tokens.
IMPACT:
All IMAP operations fail. Users cannot access their email via IMAP despite successful OAuth authentication.
ROOT CAUSE:
This appears to be a server-side regression in Microsoft's IMAP service - specifically in how authenticated sessions are established after OAuth validation. The client implementation is correct and follows Microsoft's documented OAuth patterns.
REQUEST:
Please investigate recent changes to the IMAP service authentication flow. Something changed on Microsoft's backend that broke the connection between OAuth token validation and IMAP session establishment.
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Got the exact same issue here! Would be great to find a solution for this.