- The app signs in using USER and PASS (basic authentication).
- The app’s OAuth token is invalid, or POP is disabled for the mailbox.
-ERR Logon failure: POP logon failure
Microsoft 365POPSign-in problem
The error usually looks like this:
What it means
Microsoft 365 rejected a POP sign-in. Password sign-in is no longer accepted for POP – only OAuth 2.0 works.
Common causes
How to fix it
- Switch your app to OAuth 2.0 sign-in, or use Auth-Email if it cannot.
- Check that POP is enabled for the mailbox.
Tools to help diagnose it
Can’t update your app to use OAuth?
Auth-Email fixes sign-in errors like this one without changing your app, printer, scanner or script. It signs in to Microsoft 365 with OAuth on your app’s behalf, while your app keeps using a normal username and password over IMAP, POP or SMTP.