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
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.
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:
| Path | Server | Port | Authentication | External recipients? | Pick it when |
|---|---|---|---|---|---|
| SMTP AUTH (client submission) | smtp.office365.com | 587 (or 25) | Licensed mailbox login — OAuth from now on | Yes | The device or app supports OAuth, or you are keeping it on SMTP AUTH with OAuth (Step 1) |
| SMTP relay | Your MX endpoint | 25 | Inbound connector: static public IP or TLS certificate | Yes | The device cannot do OAuth and must mail outside the company (Step 2) |
| Direct Send | Your MX endpoint | 25 | None | No — internal only | The 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.
- 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.
- 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 see | What it means | Fix |
|---|---|---|
550 5.7.30 Basic authentication is not supported for Client Submission | Basic 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 / Mailbox | SMTP 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 unsuccessful | The 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 sender | The 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.
- 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 SmtpClientAuthenticationDisabledTruemeans SMTP AUTH is disabled at that level;Falsemeans enabled; a mailbox set to$nullfollows the tenant setting. If the tenant value isTrue, every mailbox inherits “off” unless it has its own override — that alone explains a 535 5.7.139. - 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.
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.
- 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.
- 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:
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.
- 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). - Create the inbound connector. Exchange admin center → Mail flow → Connectors → Add a connector:
- Point the device at the relay.
Device setting Value Server / smart host Your MX endpoint, e.g. yourdomain-com.mail.protection.outlook.com(never an IP address)TCP port 25— check it is not blocked by your firewall or ISPTLS / StartTLS Enabled (TLS 1.2 or 1.3) Email address Any address in your accepted domain — it does not need a mailbox (e.g. scanner@yourdomain)Username / password Leave blank — the IP address (or certificate) is the authentication - 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.
- Point the device at your MX endpoint.
SERVER1your MX endpoint, e.g. yourdomain-com.mail.protection.outlook.comPORT225 — must not be blocked by your firewall or ISPTLS3optional (but use it if the device offers it)ADDRESS4any address in your accepted domain — no mailbox neededLOGIN5none — 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. - 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.
Step 4 — The stopgap: re-enable Basic auth for one mailbox only (temporary)
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.
Prove it worked
Do not trust a settings screen — a saved setting is not a delivered message. Prove each migrated sender separately:
Still not working? Work this ladder in order
- 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.
- 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. - 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 587should answer220 … Microsoft ESMTP MAIL Service ready). If port 25 is blocked and cannot be unblocked, relay and Direct Send are unavailable from that network. - 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.
- 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.
- 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.
- 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
| Mistake | What happens |
|---|---|
| Disabling SMTP AUTH for a mailbox that still sends | That 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 printer | The 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-wide | Every 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 mail | External 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 mail | Same trap: HVE sends to internal recipients only. It never fixes a sender that must reach outside the company. |
| Rebuilding on smtp.office365.com + a password | Works 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 465 | Port 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).
Did this fix work for you?
Your reaction is stored only in your own browser — it is not sent to us.