Skip to content
iBlockSpam
Setup guides

What does the SMTP AUTH Basic auth retirement mean for your Microsoft 365 tenant?

By iBlockSpam Team How we check our guides Updated 11 min read 8 sources
Short answer

Under Microsoft's January 27, 2026 timeline, Basic auth for SMTP AUTH is disabled by default for existing Exchange Online tenants at the end of December 2026, though admins can turn it back on. New tenants won't have it. Microsoft will announce a final removal date in the second half of 2027. Move devices and apps to OAuth or another method now.

Printers, scanners, scripts and business apps have long sent email through Microsoft 365 by signing in to smtp.office365.com with a username and password. Microsoft is retiring that password sign-in, called Basic authentication, for SMTP AUTH. The date has moved several times, so this guide sets out exactly what Microsoft's latest official post says at the time of writing (November 2026), which settings control it, how to find affected senders and what to move them to.

What is Microsoft changing?

Microsoft is removing Basic authentication, the username-and-password sign-in, from SMTP AUTH in Exchange Online. SMTP AUTH, also called client submission or authenticated SMTP, is how a device or app hands mail to Exchange Online, usually on port 587. Microsoft says it "supports modern authentication (Modern Auth) through OAuth in addition to basic authentication" (Microsoft Learn).

Microsoft already removed Basic auth from every other Exchange Online protocol in 2022 and early 2023. Its Learn page says "Basic authentication is now disabled in all tenants", with SMTP AUTH as the protocol still being phased out (Microsoft Learn).

The retirement removes Basic auth from SMTP AUTH only. SMTP AUTH with OAuth 2.0 keeps working on the same server and port. If you're new to these protocols, our guides to what SMTP is and to legacy authentication explain the terms.

What is the current SMTP AUTH timeline?

The current timeline is the one in the Exchange Team's post of January 27, 2026, Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline. Microsoft's Learn page points to it for "current milestones and guidance". At the time of writing (November 2026), Microsoft hasn't published a newer timeline. The post says:

When What Microsoft says will happen
Now to December 2026 "SMTP AUTH Basic Authentication behavior remains unchanged"
End of December 2026 Basic auth "will be disabled by default for existing tenants. Administrators will still be able to enable it if needed."
New tenants created after December 2026 Basic auth "will be unavailable by default. OAuth will be the supported authentication method."
Second half of 2027 "Microsoft will announce the final removal date"

The post applies to tenants in all cloud environments. It doesn't say which setting admins will use to turn Basic auth back on after December 2026, so watch the Message Center for that detail.

How has the date changed?

Microsoft first announced the retirement in April 2024, with a September 2025 date (Microsoft Tech Community). It later moved to a gradual rejection starting March 1, 2026, with all Basic auth submissions rejected by April 30, 2026. The January 2026 update replaced that plan with the timeline above. The original post also said there would be no exceptions and support couldn't re-enable Basic auth. The December 2026 step is softer, because admins can turn it back on, but the final removal will follow.

Don't plan around another delay. Treat the end of December 2026 as the date things start failing, and treat re-enabling as a short emergency measure.

Who is affected?

Any device or app that signs in to smtp.office365.com (or smtp-legacy.office365.com) with a username and password is affected:

  • Multifunction printers and scanners that scan to email. Our scan to email guide covers these in detail.
  • Line-of-business apps such as ERP, accounting, CRM and ticketing systems that send invoices or alerts.
  • Scripts and scheduled tasks, for example PowerShell's Send-MailMessage with a stored credential.
  • Monitoring and alarm systems, UPS units, NAS boxes and building systems.
  • Website plugins that send form notifications through a Microsoft 365 mailbox.
  • POP and IMAP mail clients that send with SMTP AUTH and a password.

Not affected:

  • Outlook for Windows and Mac, Outlook on the web and Outlook mobile, which don't use SMTP AUTH.
  • Devices sending through an SMTP relay connector (authenticated by certificate or IP address) or Direct Send.
  • Apps already using OAuth with SMTP AUTH, and apps that send through Microsoft Graph.

If security defaults are on in Microsoft Entra ID, Microsoft says SMTP AUTH is already disabled. Microsoft also says SMTP AUTH is disabled for organizations created after January 2020, although it can be enabled per mailbox (Microsoft Learn). Our guide to Microsoft 365 security defaults lists what else they turn on. Devices that send through Gmail or Google Workspace instead follow Google's rules, covered in Gmail SMTP settings and app passwords.

Which settings control SMTP AUTH in Exchange Online?

Three settings decide whether a device can use SMTP AUTH: an organization-wide switch, a per-mailbox override, and authentication policies that block Basic auth for chosen protocols. Microsoft recommends you "disable SMTP AUTH in your Exchange Online organization, and enable it only for the accounts (mailboxes) that still require it" (Microsoft Learn).

Setting Where to change it PowerShell Notes
Organization-wide SMTP AUTH Exchange admin center > Settings > Mail flow > Turn off SMTP AUTH protocol for your organization Set-TransportConfig -SmtpClientAuthenticationDisabled $true $false turns it back on
Per-mailbox SMTP AUTH Microsoft 365 admin center > Users > Active users > user > Mail > Manage email apps > Authenticated SMTP Set-CASMailbox -Identity <mailbox> -SmtpClientAuthenticationDisabled $true, $false or $null The mailbox setting takes precedence; $null follows the organization
Authentication policy PowerShell, or Microsoft 365 admin center > Settings > Org settings > Modern authentication New-AuthenticationPolicy / Set-AuthenticationPolicy with -AllowBasicAuthSmtp Blocks Basic auth for SMTP even if SMTP AUTH is on
Security defaults Microsoft Entra admin center Not applicable When on, SMTP AUTH is already disabled

Two details catch people out. First, the SMTP AUTH switch controls the protocol, not the sign-in method, so a mailbox that sends with OAuth still needs SMTP AUTH enabled. Second, Microsoft notes that "if your authentication policy disables basic authentication for SMTP, clients cannot use the SMTP AUTH protocol even if you enable the settings" above. Authentication policy changes take effect within 24 hours (Microsoft Learn).

To check the current state, run Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled for the organization and Get-CASMailbox -Identity <mailbox> | Format-List SmtpClientAuthenticationDisabled for one mailbox. True means disabled, False enabled, and blank means the mailbox follows the organization.

How do you find devices and apps that use Basic auth?

The SMTP AUTH clients report in the Exchange admin center is the quickest way to find Basic auth senders. Follow these steps:

  1. Run the SMTP AUTH clients report. In the Exchange admin center, go to Reports > Mail flow > SMTP AUTH clients. Its Authentication Protocol column shows "Basic Auth" (TlsAuthLogin) or "Modern Auth" (XOAUTH2) for each sender, along with TLS 1.0, 1.1 and 1.2 percentages (Microsoft Learn). The default range is 7 days. Set it to 90 days, the maximum, to catch monthly and quarterly jobs.
  2. Export it. Select Export to get a .csv file, and turn it into an inventory: sender address, what the device or app is, who owns it and where it sits.
  3. List mailboxes with SMTP AUTH turned on. In Exchange Online PowerShell:
Get-CASMailbox -ResultSize Unlimited |
  Where-Object { $_.SmtpClientAuthenticationDisabled -eq $false } |
  Select-Object PrimarySmtpAddress
  1. Check the Microsoft Entra sign-in logs. In the Microsoft Entra admin center, go to Entra ID > Monitoring & health > Sign-in logs, add the Client app filter and choose Authenticated SMTP under legacy authentication clients. You'll see which accounts sign in this way and from which IP addresses (Microsoft Learn). The least privileged role that can read these logs is Reports Reader.
  2. Ask around. Finance, operations and facilities teams often own systems that IT didn't set up.

The report is also a security check. Microsoft notes that SMTP AUTH "is susceptible to being used to send email from compromised accounts." A sender you don't recognize, or a sudden spike in volume, deserves the steps in our compromised account remediation guide.

What are the alternatives to Basic auth SMTP?

Microsoft's own alternatives are OAuth on SMTP AUTH, High Volume Email (HVE), Azure Communication Services (ACS) Email, Microsoft Graph, and relaying through an on-premises email server in a hybrid setup. Pick one per sender.

Option Reaches external recipients? Authentication Port Suits
OAuth on SMTP AUTH Yes OAuth token (delegated or client credentials) 587 Apps and devices that support OAuth
Microsoft Graph sendMail Yes OAuth (Mail.Send) HTTPS 443 Apps you can change
High Volume Email (HVE) No, internal only HVE account password or OAuth 587 Internal alerts and reports
Azure Communication Services Email Yes SMTP username tied to an Entra app, with its client secret 587 or 25 Apps that need SMTP and external delivery
SMTP relay connector Yes Certificate or static IP 25 Devices on a fixed office connection
Direct Send No, internal only None 25 Last resort for internal-only devices
Third-party relay (smart host) Yes Depends on the provider Varies Devices or servers that can't do OAuth

OAuth on SMTP AUTH

OAuth on SMTP AUTH is the smallest change when a device or app supports it: same server, same port, new sign-in. Microsoft supports delegated flows with the https://outlook.office.com/SMTP.Send scope and the client credentials flow with the SMTP.SendAsApp application permission. For client credentials, an admin registers the app's service principal in Exchange with New-ServicePrincipal and grants it access to the sending mailbox with Add-MailboxPermission (Microsoft Learn). The client then sends the token with AUTH XOAUTH2. A common mistake is using the Object ID from App registrations instead of the one from Enterprise applications, which Microsoft says "will cause an authentication failure." Check the vendor's documentation and latest firmware for OAuth or "Microsoft 365 modern authentication" support.

Microsoft Graph sendMail

Graph sendMail sends mail over HTTPS instead of SMTP, so it doesn't depend on SMTP AUTH at all. It needs the Mail.Send permission, and saves to Sent Items unless you set saveToSentItems to false (Microsoft Learn). It suits in-house apps and scripts you can rewrite, and also avoids port 25 and 587 blocks on cloud hosts.

High Volume Email

HVE uses dedicated accounts that need no license and sign in to smtp.hve.mx.microsoft on port 587. HVE accounts can authenticate even when SMTP AUTH is disabled for the organization. The catch: "HVE accounts cannot be used for external email delivery." Microsoft lists limits of 50 recipients per message, 10 MB per message and 100 HVE accounts per tenant (Microsoft Learn). HVE is billed per delivered recipient through Microsoft 365 pay-as-you-go billing, and an account without a billing policy "cannot send email." With security defaults on, HVE can authenticate only with OAuth. Our High Volume Email guide has the setup steps.

Azure Communication Services Email

ACS Email sends to internal and external recipients and offers an SMTP endpoint at smtp.azurecomm.net, port 587 (recommended) or 25, with TLS 1.2 or later. Its SMTP sign-in uses an SMTP username linked to a Microsoft Entra application, with one of the app's client secrets as the password (Microsoft Learn). It needs an Azure subscription and a verified sending domain with its own SPF and DKIM records. At the time of writing, Microsoft's ACS pages also warn of breaking changes and retirements in some services, so read the linked guide before you commit.

Relay connector, Direct Send or a smart host

A relay connector authenticates your device by certificate (Microsoft's recommendation) or by a static, unshared public IP address, so devices on a fixed office connection can keep sending with no password at all. Microsoft says you can't use it to relay mail from a third-party hosted service such as Azure. Both a relay connector and Direct Send need outbound port 25, which many cloud hosts and ISPs block; see port 25 blocked.

Direct Send reaches internal recipients only and can be abused for spoofing. Microsoft now offers an opt-in setting, Set-OrganizationConfig -RejectDirectSend $true, which rejects anonymous mail that uses one of your accepted domains as the envelope sender with 550 5.7.68 TenantInboundAttribution. It is off by default, and Microsoft says it plans to enable it by default for new tenants (Microsoft Tech Community). Our Direct Send spoofing guide covers what to check before you turn it on.

A third-party relay, or smart host, suits devices that can't do OAuth and don't sit on a static IP. Check how the relay authenticates, its monthly limits, and that it signs with DKIM for your domain. iBlockSpam's outbound relay includes 500 messages per domain per month on both plans, with DKIM signing and outbound filtering. It's sized for scanners, small apps and contact forms, not bulk mail.

How do you migrate without breaking mail?

Migrate one sender at a time, testing each before you switch SMTP AUTH off for its mailbox:

  1. Inventory every Basic auth sender from the report and sign-in logs.
  2. Choose an option for each from the table above, and record the owner.
  3. Update DNS for any new sending path. HVE and relay connectors send as your domain through Microsoft. ACS and third-party relays need your SPF record and DKIM updated, or receivers may reject the mail.
  4. Test the connection by hand if a device misbehaves. Our guide to testing an SMTP server with Telnet and OpenSSL shows the STARTTLS handshake and AUTH exchange on port 587.
  5. Switch the sender and send tests to an internal and an external address. Check the received headers in the Email Header Analyzer for SPF, DKIM and DMARC passes.
  6. Turn SMTP AUTH off on each mailbox once its device has moved: Set-CASMailbox -Identity scanner@yourdomain.com -SmtpClientAuthenticationDisabled $true.
  7. Rerun the report weekly until no Basic Auth rows are left.
  8. Keep SMTP AUTH disabled for the organization and enable it only on the mailboxes that send with OAuth.

Remember the client submission limits while you plan: Microsoft lists 10,000 recipients per day and 30 messages per minute for SMTP AUTH (Microsoft Learn). Our guide to Microsoft 365 and Google Workspace sending limits covers the rest.

What errors will you see?

SMTP AUTH failures show up as 5xx replies during sign-in or just after it. The most common are:

Error Likely meaning
550 5.7.30 Basic authentication is not supported for Client Submission Basic auth has been removed. Microsoft quotes this exact response for after the permanent change
535 5.7.139 (example text reported by admins: "Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant" or "for the Mailbox") SMTP AUTH is switched off at that level. Microsoft doesn't publish the full text, but the reply links to aka.ms/smtp_auth_disabled, which opens Microsoft's Enable or disable SMTP AUTH page
535 5.7.3 Authentication unsuccessful The sign-in was rejected. Microsoft's OAuth documentation shows this reply for a failed XOAUTH2 attempt
535 5.7.8 The standard reply for invalid credentials (RFC 4954)
5.7.60 SMTP; Client doesn't have permissions to send as this sender The sign-in account lacks Send As on the From address
550 5.7.57 The device sent without authenticating
530 5.7.0 The device tried to send before signing in or starting TLS
534 5.7.9 The server wants a stronger authentication method

Port matters too. Microsoft says that if a device "recommends or defaults to TCP port 465, it doesn't support the required versions of TLS" for client submission, which needs TLS 1.2 or 1.3 on port 587 or 25. Our guide to SMTP ports 25, 587 and 465 explains the difference. Paste any other bounce into the SMTP Error Code Lookup.

Next steps

  • Run the SMTP AUTH clients report for 90 days today and export it.
  • Contact vendors of any printer or app on the list and ask about OAuth support for Microsoft 365.
  • Move internal-only senders to HVE, and external senders to OAuth, Graph, ACS, a relay connector or a smart host.
  • Aim to finish well before the end of December 2026, and check the Exchange Team blog post again before you rely on the date.
  • If you're also tidying up how mail reaches your tenant, see our Microsoft 365 platform page.

Browse more setup guides.

Frequently asked questions

When does Microsoft turn off Basic auth for SMTP AUTH?

Under the timeline Microsoft published on January 27, 2026, Basic auth for SMTP AUTH will be disabled by default for existing tenants at the end of December 2026. Admins can turn it back on. New tenants created after December 2026 won't have it by default. Microsoft says it will announce the final removal date in the second half of 2027.

What error will devices get when Basic auth is removed?

Microsoft says clients that still use Basic auth after it is permanently disabled will receive 550 5.7.30 Basic authentication is not supported for Client Submission. Before that, a mailbox or tenant with SMTP AUTH switched off typically returns 535 5.7.139, and a failed OAuth sign-in returns 535 5.7.3 Authentication unsuccessful in Microsoft's example.

Does the retirement affect SMTP relay connectors or Direct Send?

No. The change applies to SMTP AUTH client submission, where a device signs in to smtp.office365.com. Relay connectors authenticate by certificate or IP address, and Direct Send doesn't sign in at all. Direct Send has its own change: the opt-in RejectDirectSend setting, which Microsoft plans to turn on by default for new tenants.

Can I use an app password instead?

No. Microsoft's documentation says the deprecation of Basic authentication also prevents the use of app passwords with apps that don't support two-step verification. An app password is still a password sent with Basic auth, so it doesn't avoid the change, and blocking Basic auth blocks app passwords too.

How do I know which devices still use Basic auth?

Open the Exchange admin center and go to Reports > Mail flow > SMTP AUTH clients. The report lists each sender and whether it used Basic Auth or Modern Auth, plus its TLS versions. It shows 7 days by default and up to 90 days. Run it for the full 90 days to catch monthly jobs.

Does OAuth SMTP still need SMTP AUTH enabled on the mailbox?

Yes. The SmtpClientAuthenticationDisabled setting controls the SMTP AUTH protocol itself, whatever sign-in method a device uses. Keep it off for the organization and turn it on only for the mailboxes that send with OAuth, using Set-CASMailbox or Manage email apps in the Microsoft 365 admin center.

Corrections and significant updates

  • : Refreshed for November 2026: rechecked Microsoft's January 2026 timeline (still current), added the organization and mailbox SMTP AUTH settings with admin center paths, authentication policies, 535 5.7.139 and 5.7.60 errors, RejectDirectSend, HVE billing-policy requirement and the Graph sendMail option; removed the HVE per-recipient price.

Sources

  1. Microsoft Tech Community: Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline (January 27, 2026)
  2. Microsoft Learn: Enable or disable SMTP AUTH in Exchange Online
  3. Microsoft Learn: Deprecation of Basic authentication in Exchange Online
  4. Microsoft Learn: SMTP AUTH clients report in the new EAC
  5. Microsoft Learn: Authenticate an IMAP, POP or SMTP connection using OAuth
  6. Microsoft Learn: How to set up a multifunction device or application to send email using Microsoft 365
  7. Microsoft Learn: Manage High Volume Email for Microsoft 365
  8. Microsoft Tech Community: Introducing more control over Direct Send in Exchange Online

See how your domain measures up

Run a free Email Health Check: MX, SPF, DKIM, DMARC and transport security in one scan, with the raw records shown. No sign-up.

Keep reading