If you run scan-to-email printers or old apps that send through Microsoft 365, SMTP AUTH basic authentication in Exchange Online is the thing to sort out before the end of December 2026. From that date it is planned to be off by default for existing tenants. In this guide, I’ll show how to find what still uses it, pick a replacement for each device, and switch it off without breaking the scanners people use every day.
SMTP AUTH with basic authentication is planned to be off by default for existing Exchange Online tenants from the end of December 2026. Admins can still turn it back on, and Microsoft has not published a final removal date. Find what uses it, move apps to OAuth where they support it, and use a relay connector for old devices.
What Is Changing for SMTP AUTH Basic Authentication in Exchange Online
Microsoft has already changed the deprecation timeline once, so read the dates below as the plan today and not as a promise.
The updated timeline post from the Exchange Team (27 January 2026, matching Message Center item MC786329) says this:
- Until the end of December 2026, nothing changes.
- At the end of December 2026, basic authentication for SMTP AUTH becomes disabled by default for existing tenants. Admins can still enable it if needed.
- Tenants created after that point get no basic authentication by default, and OAuth is the supported method.
- The final removal date will be announced in the second half of 2027.
The old schedule (rejections from 1 March 2026 and 100% on 30 April 2026) is on hold. Older blogs still show it, so ignore them.
One conflict to know about. The original Exchange Team announcement, which was edited as recently as 19 November 2026, still says basic authentication cannot be re-enabled and support cannot grant exceptions. That text belongs to the old schedule. The January post says admins can enable it again. I would plan for the January version, but recheck both posts and the Message Center before you promise anything to your boss.
Find What Still Uses SMTP AUTH
Open the Exchange admin center and go to Reports > Mail flow, then open the SMTP AUTH clients report (the section is called “Messages sent using SMTP Auth”). The SMTP AUTH clients report lists these columns:
- Sender address and Domain
- Authentication Protocol: “Basic Auth” or “Modern Auth”
- TLS 1.0, TLS 1.1 and TLS 1.2 (percent of messages)
- Messages sent
The default range is the last 7 days. Change it to 90 days, because a quarterly job or a year-end statement printer will not show up in a week. Then use Export to get a CSV of what is on screen. Every sender address with Basic Auth in that file is something to deal with.

The Basic Auth rows are mailbox addresses, not device names. Match each one to a device or app by asking whoever owns the scanner, or by checking which mailbox is typed into its SMTP settings page. The TLS columns are useful too: a sender still on TLS 1.0/1.1 is a good guess for an old multifunction printer, and that one will break first.
Microsoft’s page on disabling basic authentication also points to Microsoft Entra sign-in logs for legacy protocol use. I would use them only as a cross-check on the report.
Your Options per Device
Microsoft’s own comparison of sending options lists four ways to send: client SMTP submission (SMTP AUTH), SMTP relay with a connector, Direct Send, and High Volume Email (HVE). Here is how I would map them to what you actually have.
| Device or app | Best fit | How it authenticates | Catch |
|---|---|---|---|
| App or script that supports OAuth | SMTP AUTH with OAuth | OAuth token | Needs an app registration and admin consent |
| Old printer, basic auth only, mail to outside recipients | SMTP relay connector | Static public IP (or certificate, if the device can use one) | Needs a static IP, mail is not saved in Sent Items |
| App that only notifies your own users | HVE | HVE account (OAuth or basic) | Internal recipients only, billed per delivered recipient |
| Device with no authentication option, internal mail only | Direct Send | None | Internal recipients only, and Reject Direct Send can block it |
| Anything that needs a licensed mailbox to send as | SMTP AUTH with OAuth, or a connector | Mailbox credentials or token | Send As permission if sign-in and sender differ |
Two things the table hides.
If a device cannot do OAuth, “does my scanner support OAuth?” is a firmware and vendor question. Check the vendor’s release notes for the exact model. If it only offers a username and password, plan a connector for it.
And the limits are different. Client SMTP submission is capped at 10,000 recipients per day and 30 messages per minute per mailbox. The relay connector has “reasonable limits” and no published figure. HVE has no recipient or message rate limits, but allows 50 recipients per message and 10 MB per message.
Set the Tenant and Per-Mailbox Switches
Can you turn SMTP AUTH back on for just one mailbox? Yes. The mailbox setting overrides the tenant setting, so the pattern is: disable it for the organization, then allow it for the mailboxes that still need it.
Connect with Exchange Online PowerShell (the ExchangeOnlineManagement module) first. If you also work with Microsoft 365 from PowerShell, my Graph PowerShell tutorial covers the setup side.
Check the tenant value:
Get-TransportConfig | Format-List SmtpClientAuthenticationDisabledTurn SMTP AUTH off for the whole organization (use $false to turn it back on):
Set-TransportConfig -SmtpClientAuthenticationDisabled $trueIf a script or admin page shows SMTP client authentication disabled for your tenant, this is the switch behind it. Allow it for one mailbox, then check it:
Set-CASMailbox -Identity scanner01@yourdomain.com -SmtpClientAuthenticationDisabled $false
Get-CASMailbox -Identity scanner01@yourdomain.com | Format-List SmtpClientAuthenticationDisabledFor the mailbox value, False means enabled, True means disabled, and an empty value means the mailbox follows the tenant setting. Setting it to $null puts a mailbox back on the tenant setting, which is also your rollback. The same switches exist in the admin center: Settings > Mail flow > Turn off SMTP AUTH protocol for your organization for the tenant, and Users > Active users > (user) > Mail > Manage email apps > Authenticated SMTP for a mailbox.

Two other things block SMTP AUTH even when these settings allow it: security defaults (they already disable it) and an authentication policy that blocks basic authentication for SMTP. If a mailbox is allowed but still fails, look there. The Microsoft Learn SMTP AUTH page covers both.
OAuth for SMTP AUTH in Exchange Online
SMTP AUTH supports OAuth, so apps and scripts you control can keep using smtp.office365.com on port 587. The delegated scope is https://outlook.office.com/SMTP.Send. For an app that sends as itself, add the SMTP.SendAsApp application permission under Office 365 Exchange Online, grant admin consent, register the service principal with New-ServicePrincipal (use the object ID from the Enterprise Application, not the App Registration), and give it permission on the mailbox. The authentication itself is SASL XOAUTH2, and a good login returns 235 2.7.0 Authentication successful.
That is a developer task, so hand the Microsoft Learn article on OAuth for SMTP to whoever owns the app. A printer is not going to do this.
Direct Send vs SMTP Relay Connector: What Is the Difference?
The difference between Direct Send and a relay connector is how the device is trusted. Direct Send is anonymous: the device sends to your tenant’s MX endpoint on port 25 with no sign-in, and it can only deliver to recipients inside Microsoft 365. A relay connector is a trusted path you create in Exchange. The device is recognised by a certificate or by a static public IP, and it can send to internal and external recipients.
Microsoft itself says most customers do not need Direct Send, and a recent change shows why. Reject Direct Send became generally available on 16 November 2026. It is off by default for existing tenants and on for new ones. When it is on, mail sent anonymously with an address from your accepted domains is rejected with 550 5.7.68 TenantInboundAttribution; Direct Send not allowed for this organization from unauthorized sources, unless a connector attributes it.
Get-OrganizationConfig | Format-List RejectDirectSend
Set-OrganizationConfig -RejectDirectSend $trueDo not run the second line until every scanner that sends as your own domain has a connector. Microsoft’s Reject Direct Send announcement suggests the Change Optics Report (Reports > Mail flow) to find the legitimate senders first.
To create the connector, go to Exchange admin center > Mail flow > Connectors > Add a connector:
- Connection from: Your organization’s email server. Connection to: Office 365.
- Name it, leave it turned on.
- For authentication, pick the certificate subject name (recommended) or the sending IP address. Old printers often mean the IP option, with a public IP that belongs only to your organization.
- Create the connector, add the sending IP to your SPF record, and point the device at your MX endpoint (the
yourdomain-com.mail.protection.outlook.comvalue from the MX record in the admin center) on port 25.

Mail sent through a connector is not saved in Sent Items, and a connector needs a static IP unless you use a certificate. If your office has a dynamic IP, fix that before anything else.
Errors You Will See: 550 5.7.30 and the Others
| Error | What it means | What to do |
|---|---|---|
| 550 5.7.30 Basic authentication is not supported for Client Submission | Basic auth is blocked on smtp.office365.com | Move the device to OAuth or a connector |
| 550 5.7.68 TenantInboundAttribution | Reject Direct Send blocked an anonymous message | Create a connector for that sender |
| 5.7.57 Client was not authenticated to send anonymous mail | Wrong credentials, or the device cannot negotiate TLS | Use credentials of a user with a mailbox, and enable TLS |
| 5.7.60 Client doesn’t have permissions to send as this sender | Sign-in account differs from the sender address | Grant Send As, or send as the mailbox itself |
The first two are the ones this change will cause. Microsoft documents the 5.7.57 fix on its own 5.7.57 error page. A plain “535 Authentication unsuccessful” on its own does not tell you much, so check the three settings above (tenant, mailbox, security defaults) before you blame the device.
A Safe Rollout Order
- Export the SMTP AUTH clients report for 90 days and list every Basic Auth sender.
- Match each sender to a device or app and an owner.
- Move anything that supports OAuth first.
- Build connectors for the old printers and test one device end to end before touching the rest.
- Allow SMTP AUTH per mailbox only for what is left, so the exceptions are written down.
- Turn the tenant switch off once the report shows nothing important on Basic Auth.
- Keep the rollback in your notes:
$falsefor the tenant,$nullfor a mailbox.
Rerun the report a week after each change. A device that was quiet during your first look will show up late.
FAQ
When does basic auth for SMTP AUTH end? Not yet. Microsoft plans to disable it by default for existing tenants at the end of December 2026, with admins able to enable it, and to announce the final removal date in the second half of 2027.
Can I turn SMTP AUTH back on for one mailbox? Yes. Run Set-CASMailbox -Identity <mailbox> -SmtpClientAuthenticationDisabled $false. The mailbox value overrides the tenant value.
Does my scanner support OAuth? Check the vendor’s firmware notes for the exact model. If it only offers a username and password, use a relay connector.
What replaces SMTP AUTH for scan to email? A relay connector (certificate or static IP) for devices that need external recipients, or Direct Send and HVE where mail stays inside your tenant.
