Microsoft 365

Microsoft 365 · SMTP AUTH · December 2026 deadline

Microsoft 365 SMTP AUTH Basic Auth Ends December 2026: Fix Scan-to-Email, Printers and App Mail Before It Stops

First published 9 November 2026 · Updated on 12 November 2026 · Timeline from Microsoft Message Center MC786329 (27 January 2026) and Microsoft Learn. If your own tenant’s Message Center says something different, your tenant wins — this timeline has moved before.

Merroway Editorial · Verified against governing standards and vendor documentation.

Do not fix the wrong thing first. Only one thing is ending: signing in to smtp.office365.com with a username and password. Outlook on your computer is not affected — it has used Modern authentication for years. SPF, DKIM and DMARC are not affected — this change touches authentication, not your DNS records. And SMTP AUTH itself is not ending — it keeps working with OAuth. What breaks, on the day the default flips, is every printer, scanner, website form and script that still logs in with a password. Those are the senders this guide finds and moves.

The fast answer

At the end of December 2026, Microsoft disables Basic authentication for SMTP AUTH by default in existing Microsoft 365 tenants. Anything still sending with a username and password to smtp.office365.com gets a permanent rejection and the message is lost — it is not queued or retried. Your admin can switch it back on for a while, but Microsoft will announce a final removal date in the second half of 2027, after which there is no switch.

  • Find them now: Exchange admin center → Reports → Mail flow → SMTP AUTH clients. The Authentication Protocol column shows Basic vs OAuth for every sender.
  • Move each sender to one of three permanent fixes: OAuth where the device or app supports it (Step 1); an SMTP relay connector where it must reach outside the company (Step 2); Direct Send where it only ever mails people inside the company (Step 3).
  • Do not rebuild on a password. Re-enabling Basic auth for one mailbox (Step 4) buys time only — it is a stopgap, not a fix.
Now – Dec 2026No change.Basic auth worksEnd Dec 2026Disabled bydefault (re-enableable)New tenantsAfter Dec 2026:unavailable by default2nd half 2027Microsoft announcesthe final removal date›››Source: Microsoft Message Center MC786329, updated 27 January 2026.OAuth is the supported method throughout. No exact day in December is published.
Drawn diagram — the Microsoft timeline, not a screenshot. The earlier plan (rejections from 1 March to 30 April 2026) was put on hold in January 2026; guides still quoting spring 2026 are out of date.

What you are looking at, in plain words

SMTP AUTH (client submission) is the way a device or app that is not itself a mail server sends mail through Microsoft 365: it logs in to smtp.office365.com with a mailbox’s credentials and Microsoft delivers the message. Basic authentication is the old form of that login — a username and password sent with every request. OAuth (Modern authentication) is the replacement — a short-lived token issued after a proper sign-in, which is why it works with multi-factor authentication and Basic auth does not.

Microsoft has already removed Basic auth from every other Exchange Online protocol (Outlook, IMAP, POP, Exchange ActiveSync, Exchange Web Services) — since 1 October 2022 nobody, not even Microsoft Support, can turn those back on. SMTP AUTH is the last place a password still works, because so many printers and scanners cannot do anything else. That last door is now closing, on the timeline above.

Three Microsoft-documented ways exist to send from a device or app. Only the first one is affected by this change:

SMTP AUTHsmtp.office365.comPort 587 · TLS requiredMailbox login (or OAuth)Reaches anyoneTHIS ONE CHANGESSMTP RELAYYour MX endpointPort 25 · ConnectorStatic IP or certificateReaches anyoneNOT AFFECTEDDIRECT SENDYour MX endpointPort 25 · No loginNo mailbox neededInternal recipients onlyNOT AFFECTEDYour MX endpoint looks like yourdomain-com.mail.protection.outlook.com.A fourth option, High Volume Email, is internal-only too — it does notsend mail outside the company, so it never fixes an external sender.
Drawn diagram — the three sending paths from Microsoft Learn, not a screenshot. Pick the path by asking two questions: does it need to reach outside the company, and can it sign in with OAuth?
PathServerPortAuthenticationExternal recipients?Pick it when
SMTP AUTH (client submission)smtp.office365.com587 (or 25)Licensed mailbox login — OAuth from now onYesThe device or app supports OAuth, or you are keeping it on SMTP AUTH with OAuth (Step 1)
SMTP relayYour MX endpoint25Inbound connector: static public IP or TLS certificateYesThe device cannot do OAuth and must mail outside the company (Step 2)
Direct SendYour MX endpoint25NoneNo — internal onlyThe device cannot do OAuth and only ever mails your own people (Step 3)

Which senders are we talking about? The usual list in a small business: the office copier’s scan-to-email, a label or receipt printer, the website’s contact form, an accounts or bookings app that sends confirmations, a server that emails alerts, and any scheduled script (PowerShell Send-MailMessage is already marked obsolete by Microsoft — it cannot do OAuth). Walk the office and list them before you touch any setting; the report in Step 0 will confirm the list, but it only sees senders that have sent mail recently.

Step 0 — Prove which part is failing

Do this first, while Basic auth still works. It turns a vague “the printer will break” into a named list.

  1. Open the SMTP AUTH clients report. Exchange admin center → Reports → Mail flow → SMTP AUTH clients. Since October 2024 this report has an Authentication Protocol column that shows, per sender, whether it used Basic auth or OAuth. Filter on Basic. Every row on that list is a sender that stops working when the default flips.
  2. Match the error to the cause. If something already fails today, read the exact code — it tells you which of the three problems you have:
Error you seeWhat it meansFix
550 5.7.30 Basic authentication is not supported for Client SubmissionBasic auth is off for SMTP AUTH — the rejection Exchange Online returns once Basic auth is disabled. A permanent (5xx) rejection: the sender does not retry, so the scan or alert is simply lost.Move the sender to Step 1, 2 or 3. Re-enabling (Step 4) only buys time.
535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant / MailboxSMTP AUTH is switched off for the tenant or the mailbox — a policy block, not a wrong password. No password change will help; the error text itself points to aka.ms/smtp_auth_disabled.Enable SMTP AUTH for that mailbox (Step 0, check 3) — or move the sender to OAuth, which also needs SMTP AUTH enabled for the mailbox.
535 5.7.3 Authentication unsuccessfulThe login itself was refused — wrong credentials, or a policy (security defaults / Conditional Access) blocking legacy authentication.Check the password by signing in to Outlook on the web with the same account; then check the policy blocks in the ladder.
5.7.60 SMTP; Client does not have permissions to send as this senderThe device logs in as one mailbox but tries to send from a different address, without Send As permission.Give the login account Send As on the sending mailbox — or use SMTP relay (Step 2), which allows any address in your accepted domain.

About the 550 5.7.30 code: Microsoft’s own Learn troubleshooting page lists the 535 family (5.7.3, 5.7.139) rather than this string, but the 5.7.30 text is the Exchange Online server response as stated in Microsoft’s own announcement — the original MC786329 text, reproduced on Microsoft Learn Q&A — and quoted identically across independent publications. It is taught here as the rejection to expect — see the verification note at the foot of this guide.

The SMTP AUTH clients report — what to read (field map drawn by Merroway)
WHERE1Exchange admin center → Reports → Mail flow → SMTP AUTH clients
COLUMN2Authentication Protocol — Basic or OAuth, per sender (added October 2024)
FILTER3filter on Basic — every row left is a sender that stops in December
NOTE4a sender that has not sent mail recently may not appear — walk the office list too
Do this: export or screenshot the filtered Basic list before you change anything — it is your migration checklist, and it is the before/after proof. Numbers: 1 — where the report lives; 2 — the column that matters; 3 — the filter; 4 — the gap in the report.
  1. Check the two switches that decide whether SMTP AUTH works at all. In Exchange Online PowerShell, run the read-only checks (changing nothing yet):
    Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled
    Get-CASMailbox -Identity scanner@yourdomain | Format-List SmtpClientAuthenticationDisabled
    True means SMTP AUTH is disabled at that level; False means enabled; a mailbox set to $null follows the tenant setting. If the tenant value is True, every mailbox inherits “off” unless it has its own override — that alone explains a 535 5.7.139.
  2. Check for a policy block before you blame the password. If Entra security defaults are on, or a Conditional Access policy blocks legacy authentication, Basic auth is refused whatever the two switches above say. Do not turn those policies off to make a printer work — that trades the whole tenant’s security for one device. The fix is to move the sender (Steps 1–3), not to weaken the tenant.
Advertisements

Step 1 — Move what can do OAuth to OAuth

This is the permanent fix for anything that can sign in the modern way: apps, scripts you control, and printers or scanners whose firmware offers an OAuth / Modern authentication option. The mailbox, server and port stay the same — only the sign-in changes.

  1. On a printer or scanner: update the firmware first, then look in its email / SMTP settings for an authentication type of OAuth 2.0, Modern authentication or Microsoft 365 OAuth. Switch the SMTP account to it and sign in with the mailbox account (multi-factor authentication included). If no such option exists in the current firmware, the device cannot do this step — go to Step 2 or 3 instead of hunting for a menu that is not there.
  2. For an app or script you control: register the app in Microsoft Entra, then have it request a token and send it as SASL XOAUTH2. Microsoft’s OAuth guide gives the pieces:
OAuth for SMTP — the pieces your developer needs (field map drawn by Merroway)
REGISTER1register the application with Microsoft Entra (App registrations)
SCOPE2delegated (user signs in): https://outlook.office.com/SMTP.Send
APP-ONLY3service / no user present: SMTP.SendAsApp + register the service principal in Exchange (New-ServicePrincipal) + grant the mailbox (Add-MailboxPermission)
SEND4AUTH XOAUTH2 with the base64 token — server smtp.office365.com, port 587, TLS 1.2 or 1.3
STILL ON5SMTP AUTH must still be enabled for the mailbox — OAuth does not bypass that switch
Do this: keep the scope exact — Microsoft Graph scopes such as Mail.Send do not work for SMTP; the SMTP scope lives under outlook.office.com. Numbers: 1 — the registration; 2 — the delegated scope; 3 — the app-only permission; 4 — how the token is sent; 5 — the switch OAuth still needs.

Settings that stay the same: server smtp.office365.com, port 587 (recommended) or 25, TLS 1.2 or 1.3 required. Port 465 is not supported — a device that defaults to 465 does not support the required TLS versions for client submission. The sending limits stay the same too: 10,000 recipients per day and 30 messages per minute per mailbox.

Scripts: replace password-based sending with Microsoft Graph (Send-MgUserMail) or the OAuth SMTP flow above. PowerShell’s Send-MailMessage cannot do OAuth and is marked obsolete by Microsoft — patching its password is not a migration.

Step 2 — SMTP relay (connector) for devices that must reach outside

For the copier that cannot do OAuth but must email customers, suppliers or anyone outside the company. Instead of logging in, the device proves who it is by where it connects from (a static public IP address) or by a certificate — Microsoft checks that against an inbound connector you create.

  1. Get the two facts you need first: your organisation’s static public IP address (dynamic addresses are not supported — if your internet address changes, this path breaks) and your MX endpoint (Microsoft 365 admin center → Settings → Domains → your domain → DNS records → the MX record’s “Points to address” value, shaped like yourdomain-com.mail.protection.outlook.com).
  2. Create the inbound connector. Exchange admin center → Mail flow → Connectors → Add a connector:
New connector — the relay fields (field map drawn by Merroway)
FROM1Connection from: Your organization’s email server
TO2Connection to: Office 365 (selected automatically)
NAME3a unique descriptive name, e.g. Office copier SMTP relay — Turn it on: yes
AUTH4By verifying that the IP address of the sending server matches… — enter your static public IP address
OR CERT5certificate option instead: subject or SAN must contain one of your accepted domains
Do this: if you already have an inbound connector from a hybrid setup, check it first — you may not need a second one. Numbers: 1 — connection from; 2 — connection to; 3 — name and on/off; 4 — IP authentication; 5 — the certificate alternative.
  1. Point the device at the relay.
    Device settingValue
    Server / smart hostYour MX endpoint, e.g. yourdomain-com.mail.protection.outlook.com (never an IP address)
    TCP port25 — check it is not blocked by your firewall or ISP
    TLS / StartTLSEnabled (TLS 1.2 or 1.3)
    Email addressAny address in your accepted domain — it does not need a mailbox (e.g. scanner@yourdomain)
    Username / passwordLeave blank — the IP address (or certificate) is the authentication
  2. Add the IP to your SPF record so the relayed mail is not flagged as spam, then send a test scan and confirm it arrives. Limits: no licensed mailbox is needed, and sending limits are higher than a mailbox’s — but “reasonable limits” apply and the path cannot be used to send bulk mail. It also cannot be used from a third-party hosted service (for example, a virtual machine in Azure) — that traffic must use another method.

Step 3 — Direct Send for inside-only mail

For the device that cannot do OAuth and only ever mails your own people — a scanner that sends to staff, a door system that alerts the office, an app that notifies internal users. No login, no mailbox, no connector.

  1. Point the device at your MX endpoint.
    Direct Send — the device fields (field map drawn by Merroway)
    SERVER1your MX endpoint, e.g. yourdomain-com.mail.protection.outlook.com
    PORT225 — must not be blocked by your firewall or ISP
    TLS3optional (but use it if the device offers it)
    ADDRESS4any address in your accepted domain — no mailbox needed
    LOGIN5none — leave username and password blank
    Do this: test with an internal recipient first — Direct Send to an outside address is rejected by design, so an external test “failure” proves nothing. Numbers: 1 — the server; 2 — the port; 3 — TLS; 4 — the sending address; 5 — no login.
  2. Set SPF (and DKIM/DMARC) for the domain so the mail is not treated as anonymous spam — Microsoft recommends a static IP address for this, and warns that mail can be disrupted if the IP lands on a spam blocklist. If your SPF is not already right, our Microsoft 365 authentication guide covers the record.
⚠ The two hard limits of Direct Send. It cannot deliver to external recipients — mail to a Gmail or Yahoo address is rejected, by design. And Microsoft says it is working on an option to disable Direct Send by default, and recommends it only for advanced customers willing to take on the responsibilities of running a mail server. Use it only where no other method works — if the device later needs to mail outside the company, it needs Step 1 or Step 2 instead.

Step 4 — The stopgap: re-enable Basic auth for one mailbox only (temporary)

⚠ Read this before you run any command in this step. Disabling SMTP AUTH for a mailbox that still uses it stops that mailbox sending immediately — the 535 5.7.139 error in Step 0 is what that looks like. The commands below do the opposite (they enable), and only for one mailbox. Never re-enable Basic auth tenant-wide to fix one printer: that re-opens password sign-in for every mailbox in the company, including ones nobody is migrating. And never treat this step as the fix — it stops working entirely when Microsoft announces the final removal date in the second half of 2027.

If December arrives and one sender is still not migrated, buy time for that sender alone:

# Enable SMTP AUTH for ONE mailbox (Exchange Online PowerShell)
Set-CASMailbox -Identity scanner@yourdomain -SmtpClientAuthenticationDisabled $false

# Check what you have set
Get-CASMailbox -Identity scanner@yourdomain | Format-List SmtpClientAuthenticationDisabled

Replace scanner@yourdomain with the mailbox the device actually signs in with. A value of $false means SMTP AUTH is enabled for that mailbox; $true disables it; $null hands control back to the tenant setting. Note the limit: this switch turns SMTP AUTH back on for the mailbox — it is the control Microsoft documents today. Microsoft has not yet named the setting that re-enables Basic auth specifically after the December default flips, and a separate authentication policy that blocks Basic auth can still refuse the login, so confirm the exact control in your tenant’s Message Center before December. Put a date on it: diary the migration for that sender, and the removal of this override, before the second half of 2027.

What not to do instead: do not turn off Entra security defaults, and do not switch off multi-factor authentication on the mailbox, to make a device send mail. Microsoft’s own printer-troubleshooting page lists both as diagnostic steps — but each one weakens the whole tenant’s security for the sake of one sender. The three steps above are the fixes; this step is only the pause button.

Advertisements

Prove it worked

Do not trust a settings screen — a saved setting is not a delivered message. Prove each migrated sender separately:

Proof per sender — six checks, in order (field map drawn by Merroway)
SEND1send a test from the device or app — a real scan, a real form, a real alert
ARRIVE2confirm it arrives — internal recipient for Direct Send, external recipient for relay and OAuth
REPORT3re-open the SMTP AUTH clients report — the sender now shows OAuth, or disappears from SMTP AUTH entirely (relay / Direct Send)
TRACE4if it did not arrive, run a message trace in the Exchange admin center for the sender and the time — it shows whether Exchange accepted, rejected or never saw the message
JUNK5check the recipient’s Junk Email folder — relay and Direct Send mail can be filtered until SPF is right
LIST6tick the sender off the Step 0 list — an un-ticked sender is a December failure waiting to happen
Do this: run the checks in this order and stop at the first failure — each row names the layer that owns the fix. Numbers: 1 — the test send; 2 — delivery; 3 — the report readback; 4 — the trace; 5 — the junk check; 6 — the checklist.
Done looks like this: the Step 0 Basic list is empty, every sender has a test message that arrived, and no mailbox is left on the Step 4 stopgap without a dated migration plan. If you still have a Basic row, that sender is not finished — it is only quiet.

Still not working? Work this ladder in order

  1. Read the error again, exactly. 550 5.7.30 means Basic auth is off — migrate, don’t retype the password. 535 5.7.139 means SMTP AUTH is disabled for the tenant or mailbox — check the two switches in Step 0. 535 5.7.3 means the login was refused — verify the password by signing in to Outlook on the web with the same account.
  2. Confirm the device is talking to the right server. SMTP AUTH and OAuth use smtp.office365.com (587); relay and Direct Send use your MX endpoint (port 25). A device pointed at the wrong endpoint fails with errors that look like authentication problems but are not.
  3. Check the ports from the device’s network. Port 587 (or 25) must not be blocked by your firewall or ISP — Microsoft’s own troubleshooter starts here, with a telnet test (open smtp.office365.com 587 should answer 220 … Microsoft ESMTP MAIL Service ready). If port 25 is blocked and cannot be unblocked, relay and Direct Send are unavailable from that network.
  4. Check TLS. Client submission requires TLS 1.2 or 1.3. A device that only speaks TLS 1.0/1.1 cannot use SMTP AUTH on the standard endpoint — move it to relay or Direct Send, where TLS is optional.
  5. Check the sending address. SMTP AUTH sends from the login mailbox’s address unless that account has Send As on the address used — otherwise 5.7.60. Relay and Direct Send accept any address in your accepted domain.
  6. Check the policy blocks. Security defaults or a Conditional Access policy blocking legacy authentication refuses Basic auth regardless of the Exchange settings. The answer is still to migrate (Steps 1–3), not to exempt the mailbox from the policy.
  7. Take the evidence to support. If the settings are right and mail still fails, take the exact error string and a message trace to Microsoft Support (Microsoft 365 admin center → Support) — the error code is the evidence they will ask for.

Mistakes that make it worse

MistakeWhat happens
Disabling SMTP AUTH for a mailbox that still sendsThat mailbox stops sending at once (535 5.7.139). Check the Step 0 report before touching the switch — never after.
Turning off security defaults or MFA for one printerThe whole tenant loses its baseline protection. Microsoft’s troubleshooter lists this; it is still the wrong trade. Migrate the sender instead.
Re-enabling Basic auth tenant-wideEvery mailbox in the company can sign in with a password again, including ones nobody is migrating. One mailbox, one override, one expiry date (Step 4).
Using Direct Send for external mailExternal recipients are rejected by design — and the failure looks like the device is broken. Direct Send is internal-only, always.
Using High Volume Email for external mailSame trap: HVE sends to internal recipients only. It never fixes a sender that must reach outside the company.
Rebuilding on smtp.office365.com + a passwordWorks today, fails at the end of December, fails permanently at final removal. A new setup built on Basic auth is a December incident scheduled in advance.
Setting the device to port 465Port 465 is not supported for client submission — the device needs TLS 1.2/1.3 on 587 (or 25). A 465 default means the device cannot do this path.

FAQ

Will my printer stop working in January 2027?

Not necessarily on 1 January, and not necessarily at all. The change lands at the end of December 2026 — Microsoft publishes no exact day — and it only stops printers that still sign in with a username and password. If your printer uses OAuth, or you have moved it to an SMTP relay connector or Direct Send, nothing changes for it. If it still uses a password, it starts failing with 550 5.7.30 — check it against the Step 0 report now, not in January.

What does 550 5.7.30 mean?

It means Exchange Online refused a Basic authentication login for SMTP AUTH — “Basic authentication is not supported for Client Submission”. It is a permanent rejection, so the message is not queued or retried; the scan, form or alert is lost. The fix is to move the sender to OAuth, a relay connector or Direct Send (Steps 1–3). Re-enabling Basic auth for the mailbox (Step 4) only postpones it.

What does 535 5.7.139 mean?

It means SMTP AUTH is switched off for the tenant or for that mailbox — “SmtpClientAuthentication is disabled for the Tenant / Mailbox”. It is a policy block, not a wrong password, so changing the password changes nothing. Enable SMTP AUTH for the mailbox with Set-CASMailbox -SmtpClientAuthenticationDisabled $false, or move the sender to OAuth (which needs the same switch on).

Can I just turn Basic auth back on after December?

For one mailbox, yes — as a stopgap. Microsoft says administrators will still be able to enable it after the default flips, until the final removal date, which Microsoft will announce in the second half of 2027. Do it per mailbox (Step 4), never tenant-wide, and put a migration date on it. After final removal there is no switch to turn it back on.

My device can’t do OAuth and only mails people inside the company — what’s the simplest fix?

Direct Send (Step 3): point the device at your MX endpoint on port 25 with no login. It needs no mailbox and no connector. Its hard limit is that it cannot mail anyone outside the company — if that ever changes, the device needs an SMTP relay connector (Step 2) or OAuth (Step 1) instead.

Does this change affect Outlook on my computer, or my SPF, DKIM and DMARC records?

No to all three. Outlook has used Modern authentication for years and is unaffected. SPF, DKIM and DMARC are DNS records about authorisation, and this change touches only how a sender logs in — your records stay exactly as they are. Only password sign-in to smtp.office365.com is ending.

Sources

Microsoft 365 Message Center MC786329 — “Exchange Online to retire Basic Auth for Client Submission (SMTP AUTH)”, updated 27 January 2026 (public mirror of the Message Center post; the Message Center itself needs an admin sign-in) · Exchange Team Blog — “Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline”, 27 January 2026 · Microsoft Learn — “Deprecation of Basic authentication in Exchange Online” · Microsoft Learn — “How to set up a multifunction device or application to send email using Microsoft 365 or Office 365” (the three sending methods, settings, limits) · Microsoft Learn — “Fix issues with printers, scanners, and LOB apps that send email using Microsoft 365” (535 5.7.3 / 5.7.57 / 5.7.60 / 535 5.7.139; telnet test) · Microsoft Learn — “Enable or disable SMTP AUTH in Exchange Online” · Microsoft Learn — “Authenticate an IMAP, POP, or SMTP connection using OAuth” (SMTP.Send scope, SMTP.SendAsApp, SASL XOAUTH2) · Microsoft Learn Q&A — 535 5.7.139 “SmtpClientAuthentication is disabled” · Microsoft Learn Q&A — 550 5.7.30 “Basic authentication is not supported for Client Submission” (Microsoft’s own announcement text, September 2025 version, quoted in the question).

Verification note: the load-bearing claims above were checked against the linked Microsoft pages on 9 November 2026, re-verified on 10 November 2026 and re-checked on 12 November 2026. Two provenance limits, kept explicit. First, the 550 5.7.30 error text is the Exchange Online server response as stated in Microsoft’s own announcement — the original MC786329 text (September 2025 version), reproduced verbatim on Microsoft Learn Q&A — and quoted identically by multiple independent publications. Microsoft’s printer-troubleshooting Learn page itself lists the 535 family instead, so the code is taught here as the rejection to expect, with that provenance stated. Second, Microsoft publishes no exact day in December 2026 for the default change — only “end of December 2026” — so no day is stated anywhere in this guide. The timeline has already moved twice (September 2025, then March–April 2026, both superseded in January 2026); confirm the current position in your own tenant’s Message Center under MC786329 before planning against a date.