EmailNa

Home › SMTP error codes › 535 5.7.139

535 5.7.139: Authentication unsuccessful (Microsoft 365)

Microsoft 365 refused to let your app or device sign in to send email. The message was never sent.

By David Ray · Updated October 17, 2026 · How we research

Sign-in problem Your app or device couldn't sign in to your own mail server, so the message was never sent. Fix the sign-in settings.

What the bounce message looks like

The wording changes from one provider to another. These are typical examples:

535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information.
535 5.7.139 Authentication unsuccessful, user is locked by your organization's security defaults policy.

Common causes

How to fix it if you sent the email

If you manage the receiving or sending mail system

Free tool: paste the full bounce into the bounce message decoder to get a plain-English reading of every code in it.

Questions people ask

What does 535 5.7.139 mean?
Microsoft 365 refused to let your app or device sign in to send email. The message was never sent.
Is 535 5.7.139 a hard or soft bounce?
Sign-in problem. Your app or device couldn't sign in to your own mail server, so the message was never sent. Fix the sign-in settings.
Should I remove the address after a 5.7.139 bounce?
No. The message never left your own mail server. Fix the sign-in or sender settings and send again.