Skip to content
MtrXTools

535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant

Microsoft 365 refused the SMTP AUTH login

Seen in Microsoft 365 (smtp.office365.com), Outlook.com, apps and printers using SMTP AUTH

Exchange Online rejected the SMTP AUTH login; the text after the comma says why (SMTP AUTH disabled, basic authentication disabled, or blocked by security defaults).

Common causes

  • SMTP AUTH is turned off for the tenant or the mailbox, which is the default for new tenants.
  • Basic authentication (username and password) is blocked; Microsoft is retiring it for SMTP AUTH.
  • Security defaults or a Conditional Access policy blocks legacy authentication for the account.

How to fix it

  1. Enable SMTP AUTH for just the sending mailbox: Set-CASMailbox -Identity user@example.com -SmtpClientAuthenticationDisabled $false.
  2. Move the app to OAuth 2.0 for SMTP, or to Microsoft Graph sendMail.
  3. For devices that cannot do modern authentication, use direct send or an SMTP relay connector instead.

Got a different message? Paste it into the error explainer.

Related errors

All 33 Email (SMTP) errors