Exchange Connection Problems

Fix Office 365 IMAP and POP3 Authentication Failures

Muhammad TalhaMuhammad Talha Nov 4, 2026 869 views

Question details

Users are unable to authenticate and access their Microsoft 365 mailboxes via IMAP or POP3 protocols.

How to Fix Office 365 IMAP and POP3 Authentication Failures
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.
Before you start

Ensure you have Microsoft 365 administrator credentials, as you may need to verify tenant-wide protocol settings and review Azure AD sign-in logs.

Solution 1Recommended

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.

1
Upgrade your email client

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.

2
Remove the old account configuration

Open your email client's account settings and completely remove the existing IMAP/POP3 account profile that relies on standard password authentication.

3
Add the account using Microsoft 365 flow

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.

Migrate to a Client Supporting Modern Authentication (OAuth 2.0)
Manual Configuration with OAuth: If you must configure IMAP manually, ensure your client has an 'Authentication Method' setting and change it from 'Normal Password' to 'OAuth2' (as seen in Thunderbird).
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS website and click the free download button for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the software on your device.
  3. 3. Open and edit your files: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office files without compatibility issues.
Completely free to use with a lightweight installation packageFully compatible with Microsoft Word, Excel, and PowerPoint formatsNo complex tenant configurations or modern authentication errors to deal withIntuitive, tabbed interface that requires zero learning curve
QA img-9

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.