Fix Office 365 IMAP and POP3 Authentication Failures
Question details
Users are unable to authenticate and access their Microsoft 365 mailboxes via IMAP or POP3 protocols.

- Product
- Office 365
- Device & OS
- not provided
- Scenario
- Attempting to connect third-party email clients to a Microsoft 365 account using IMAP or POP3 connections.
- Observed behavior
- The connection fails with continuous authentication prompts or errors, even after enabling MFA or generating app passwords, because basic authentication has been disabled.
Ensure you have Microsoft 365 administrator credentials, as you may need to verify tenant-wide protocol settings and review Azure AD sign-in logs.
Migrate to a Client Supporting Modern Authentication (OAuth 2.0)
Since Microsoft has retired basic authentication, upgrading to an email client that supports modern authentication is the most reliable way to restore IMAP/POP3 access.
Microsoft 365 no longer supports basic username and password authentication for IMAP and POP3. Turning on Multi-Factor Authentication (MFA) or using App Passwords will not bypass this restriction if basic authentication is disabled at the tenant level.
Ensure you are using an email client that natively supports OAuth 2.0, such as the latest versions of Microsoft Outlook, Mozilla Thunderbird, or Apple Mail.
Open your email client's account settings and completely remove the existing IMAP/POP3 account profile that relies on standard password authentication.
Click 'Add Account' and select 'Microsoft 365' or 'Exchange' instead of manually configuring IMAP. This will trigger a secure web-based login prompt (OAuth 2.0) to authenticate your credentials safely.

Verify IMAP and POP Protocols are Enabled for the Mailbox
Check the Microsoft 365 Admin Center to ensure that the IMAP and POP protocols have not been explicitly disabled for the affected user account.
Switch to WPS Office for a Hassle-Free Productivity Experience
While managing Microsoft 365 server configurations and authentication protocol changes can be complex and frustrating, your daily document work doesn't have to be. WPS Office provides a lightweight, highly compatible, and completely free alternative for processing text documents, spreadsheets, and presentations.
- 1. Download the software: Visit the official WPS website and click the free download button for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the software on your device.
- 3. Open and edit your files: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office files without compatibility issues.

Frequently Asked Questions
Why did my IMAP connection suddenly stop working in Office 365?
Microsoft has proactively retired Basic Authentication across all Exchange Online tenants to improve security. If your email client was using a standard username and password to connect via IMAP, the connection is now blocked by the server.
Can I still use app passwords to bypass IMAP authentication failures?
No. App passwords rely on Basic Authentication. Once Basic Authentication is disabled in your Microsoft 365 tenant, app passwords will no longer work for IMAP or POP3 connections.
How can I confirm if Basic Authentication is the cause of my error?
An administrator can log into the Microsoft Entra admin center (formerly Azure AD), navigate to 'Users', and view the 'Sign-in logs'. Look for 'Failure' statuses related to your email client; the failure details will often explicitly state that Basic Authentication is blocked by policy.
Do all email clients support modern authentication (OAuth 2.0)?
No. Many older or legacy email programs, as well as some older versions of Outlook (like Outlook 2013 without registry keys), do not support OAuth 2.0. You must upgrade to modern clients like the latest Microsoft Outlook, Apple Mail, or Mozilla Thunderbird.




