Updated Deadline: end of Dec 2026

SMTP AUTH with password is shut down – OAuth becomes required

From the end of December 2026 Microsoft disables SMTP AUTH with username and password (Basic Auth) by default in Exchange Online. Only OAuth is supported going forward – which most scanners and ERP systems cannot do.

What is happening?

Many devices send email by signing in to smtp.office365.com with a mailbox and password. This is SMTP AUTH with Basic Auth.

At the end of December 2026 it is disabled by default in existing tenants. Administrators can temporarily re-enable it.

New tenants created after December 2026 will not have it at all – OAuth is the only option.

In the second half of 2027 Microsoft will announce the final removal date.

OAuth requires the device to obtain tokens from Microsoft Entra ID. Only newer firmware and software supports this. Old scanners, NAV installations and scripts usually cannot.

Timeline

  1. 27 Jan 2026Microsoft publishes the updated timeline.
  2. End of Dec 2026Basic Auth disabled by default in existing tenants.
  3. H2 2027Final removal date announced.

Who is affected?

  • Scanners and printers signing in to smtp.office365.com port 587
  • ERP (NAV, C5, BC on-prem) with SMTP login
  • Monitoring, alarms, backup reports and scripts
  • Web shops and apps sending via an M365 mailbox

Typical errors

535 5.7.139 Authentication unsuccessful, basic authentication is disabled 535 5.7.3 Authentication unsuccessful 5.7.57 Client not authenticated to send mail

What to check

  • Run the SMTP AUTH report in Exchange Admin Center (Reports → Mail flow) and find every account using Basic Auth.
  • Note for each device: model, firmware and whether it supports OAuth.
  • Check whether SMTP AUTH is enabled per mailbox or for the whole tenant.
  • Find shared mailboxes and licences that exist only to send email.

What to do

  • Devices with OAuth support: update and configure OAuth.
  • Devices without OAuth: move them to an SMTP SERVER with IP authentication. SMTP.dk requires no M365 licence and no OAuth on the device.
  • Do not re-enable Basic Auth as a lasting fix – it will be removed for good later.
  • Send test emails to internal and external recipients and confirm delivery.

Sources

Guidance only. Always check Microsoft's current documentation for your setup.