How to Fix Microsoft 365 Exchange POP3 or SMTP Authentication Failure in Gmail
Question details
Users are unable to successfully authenticate their Microsoft 365 Exchange email accounts in Gmail via POP3 or SMTP, despite using the correct server settings and credentials.

- Product
- Microsoft 365 Exchange, Gmail
- Device & OS
- not provided
- Scenario
- Adding or syncing a Microsoft 365 Exchange work or school account within the Gmail app or Gmail web interface.
- Observed behavior
- Gmail rejects the connection with an authentication error because Microsoft 365 security defaults, OAuth requirements, or tenant settings are blocking basic authentication.
Ensure you have your Microsoft 365 administrator's contact information handy, as resolving basic authentication blocks often requires tenant-level administrative privileges.
Add the Account Using the Modern Exchange/OAuth Option
Bypass basic POP3/SMTP authentication limits by utilizing the modern OAuth integration directly built into Gmail.
Microsoft heavily restricts basic authentication for security purposes. Using modern authentication (OAuth) is the most reliable way to connect your Microsoft 365 account to third-party clients like Gmail.
Launch the Gmail app or web interface, navigate to Settings, and select 'Add account'.
Instead of choosing 'Other (POP3/IMAP)', tap on 'Exchange and Office 365' or 'Outlook, Hotmail, and Live'.
Follow the on-screen prompts to log into the Microsoft portal. This will authenticate your account securely using OAuth without relying on basic POP3/SMTP passwords.

Verify Mailbox Security Policies with Your IT Administrator
If you must use POP3 or SMTP, your Microsoft 365 tenant administrator must explicitly allow these older protocols.
Confirm Manual Server Names and Ports
Double-check your manual POP3 and SMTP configurations to ensure no typographical errors are causing the rejection.
Looking for a Better Office Suite? Try WPS Office
While resolving email and Microsoft 365 tenant configurations, you might also be looking for a reliable, offline-capable office suite. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office, offering Word, Excel, PowerPoint, and PDF tools in one single unified application.
- 1. Download the Installer: Visit the official WPS website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the quick on-screen instructions to install WPS Office.
- 3. Open Your Office Files: Double-click any existing Word, Excel, or PowerPoint document to open and seamlessly edit it in WPS Office.

Frequently Asked Questions
Why does Gmail say my Microsoft 365 authentication failed when my password is correct?
Microsoft 365 has disabled basic authentication by default across all tenants to improve security. Even with the correct password, Gmail's traditional POP3/SMTP connection attempts are blocked. You must use modern OAuth authentication to sign in successfully.
How do I know if my Microsoft 365 admin disabled SMTP authentication?
If you repeatedly receive authentication errors despite having the correct credentials and server settings, basic authentication is likely disabled. Your IT administrator can confirm this by checking your mailbox settings and Azure Active Directory sign-in logs.
Can I use IMAP instead of POP3 for my Microsoft 365 account in Gmail?
Yes, but IMAP is subject to the same basic authentication restrictions as POP3 and SMTP. To use IMAP, your organization must explicitly allow it, or you should select the 'Exchange and Office 365' option in Gmail to utilize modern authentication.




