Skip to content
Exchange Server

Exchange Online Basic Authentication Disabled: Fixes

Padlock with a red slash for Exchange Online Basic authentication disabled
Quick Answer

Exchange Online Basic authentication is already disabled for Outlook, IMAP, POP, ActiveSync, Exchange Web Services and the other protocols Microsoft listed. The general date was 1 October 2022. SMTP AUTH is the exception. According to the Exchange Team, its Basic authentication turns off by default for existing tenants at the end of December 2026. Move apps and devices to OAuth, Microsoft Graph, a connector or High Volume Email before then.

Status as of 5 December 2026. The December change is under four weeks away. Dates come from Microsoft’s own pages. Check your tenant after the change instead of assuming a setting.

Two different events share the same name. Mixing them up causes wrong fixes. The first event is finished: Exchange Online stopped accepting a username and a password on most protocols. The second event is the SMTP change due at the end of December 2026. This guide separates the two, decodes the errors and gives you a table to pick the replacement for each sender.

What Does Basic Authentication Disabled Mean in Exchange Online?

Basic authentication means an app sends a username and a password with every request. Modern authentication replaces that with an OAuth 2.0 access token that the app requests from Microsoft Entra ID. When Exchange Online turns that method off for a protocol, the server rejects username and password sign-ins on that protocol and accepts only tokens.

The setting applies per protocol. A tenant can lose password sign-in on IMAP and still keep it on SMTP AUTH. That split explains why Outlook signs in fine in a tenant where an old IMAP app fails.

Which Exchange Online Protocols Lost Basic Authentication?

Microsoft’s deprecation page states that Basic authentication is now disabled in all tenants for the protocols marked Disabled below. The general date was 1 October 2022. Office 365 Operated by 21Vianet followed on 31 March 2023. Before 31 December 2022 admins could switch the protocols back on. Now nobody can. That includes Microsoft support.

Protocol or client Status today What the sign-in uses now
Outlook for Windows and Outlook for Mac Disabled Modern authentication
Exchange Web Services, Offline Address Book and Autodiscover Disabled Modern authentication
POP and IMAP Disabled OAuth tokens (XOAUTH2)
Exchange ActiveSync Disabled Modern authentication. Microsoft recommends Outlook for iOS and Android on phones
Remote PowerShell Disabled Modern authentication
SMTP AUTH (client submission) Still available. Default changes at the end of December 2026 OAuth tokens or a username and a password until the default changes

Microsoft also disabled authenticated SMTP in tenants that were not using it. If a new sender fails in your tenant, check the authenticated SMTP setting before you blame the password.

When Will SMTP AUTH Basic Auth Be Disabled?

The Exchange Team published the current timeline on 27 January 2026 and updated it on 29 January 2026. It replaced the earlier plan that ran from 1 March to 30 April 2026. Many guides still show the old dates.

Period What changes
Now to December 2026 Nothing changes
End of December 2026 Disabled by default for existing tenants. Administrators can still enable it
Tenants created after December 2026 Unavailable by default. OAuth is the supported method
Second half of 2027 Microsoft announces the final removal date

The change flips a default. It does not tell you what your tenant has set today. Read your own values with the commands in the section on finding apps and devices and recheck them in the first week of January 2027.

What Errors Appear When Basic Auth Is Off?

Read the text after the code. The same code number can mean different things on different mail systems. Some websites explain 550 5.7.30 as a DKIM failure. In Exchange Online the text on SMTP AUTH errors names Basic authentication. The cause is the sign-in method and DNS records are not involved.

Message What it tells you What to check
550 5.7.30 Basic authentication is not supported for Client Submission Microsoft states that apps signing in with a password over SMTP AUTH receive this response once Basic authentication is permanently disabled Move the sender to OAuth or to another sending method
535 5.7.139 Authentication unsuccessful, basic authentication is disabled Admins and developers report this together with 5.7.57 Client not authenticated to send mail when an app signs in to smtp.office365.com with a password Same fix. Also check Security defaults and the authentication policy
535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Mailbox The text names the mailbox setting. The mailbox has SMTP AUTH switched off Check the per mailbox setting with Get-CASMailbox
535 5.7.3 Authentication unsuccessful Microsoft documents this reply for a failed OAuth sign-in over SMTP Check the token, the scope, the service principal and the mailbox permission

A 550 5.7.1 unable to relay reply is a different problem. It comes from a receive connector that does not allow relay on an on-premises server. Our guide on Exchange SMTP error 550 5.7.1 unable to relay covers that case.

How Do You Find Apps and Devices That Still Use Basic Auth?

The Exchange Team points admins to the SMTP AUTH Clients Submission report in the Exchange admin center. The report lists the accounts that still sign in with a password for client submission. Add a list from your own side because the report shows accounts and not the printer in the corner.

  1. List every sender that uses a mailbox password: printers, scanners, ERP and CRM systems, monitoring tools, web forms and PowerShell scripts that call Send-MailMessage with credentials.
  2. Open the report and match each account to a device or an app.
  3. Check the organization setting and the mailbox setting with the commands below.
Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled
Get-CASMailbox -Identity sender@yourdomain.com | Format-List SmtpClientAuthenticationDisabled

The SMTP AUTH settings page explains the values. True means SMTP AUTH is disabled. False means it is enabled. A blank mailbox value means the organization setting applies. The mailbox value overrides the organization value.

Two more places block sending even when both settings say enabled. Security defaults in Microsoft Entra ID turn off SMTP AUTH for the whole organization. An authentication policy that turns off password sign-in for SMTP blocks clients as well.

What Should You Use Instead of SMTP AUTH Basic Auth?

The right replacement depends on what sends the mail and who receives it. The mail flow options for devices and applications names the options. Use the table to match each sender.

What sends the mail Recipients Replacement Limits to plan for
App or script that supports OAuth Internal and external OAuth sign-in over SMTP Needs a licensed mailbox. Client submission allows 10,000 recipients a day and 30 messages a minute. Connect to smtp.office365.com with TLS 1.2 or later
Custom app that you can change Internal and external Microsoft Graph sendMail Needs the Mail.Send permission. A 202 Accepted answer means Exchange accepted the request and not that delivery finished
Printer or scanner that cannot use OAuth Internal only High Volume Email Dedicated HVE account on port 587 with TLS. Up to 50 recipients per message and a 10 MB message size. Needs a billing policy
Printer or scanner that cannot use OAuth Internal and external SMTP relay with a connector Port 25. Needs a static public IP or a certificate and a sender address in an accepted domain. No licensed mailbox. Azure hosted senders cannot relay
Device that sends only to your own users Microsoft 365 recipients only Direct Send Port 25 without authentication. Needs SPF, DKIM and DMARC. Choose it only when the other methods do not fit
Bulk or application mail Internal and external Azure Communication Services Email Microsoft lists it as an option for internal and external recipients

Details sit on the High Volume Email page and the Microsoft Graph sendMail reference. Security defaults in Microsoft Entra ID are also incompatible with password sign-in. OAuth is the safer target for anything that must keep a mailbox sign-in.

How Do You Move an App to OAuth for SMTP AUTH?

These steps follow the Microsoft guide to OAuth for IMAP, POP and SMTP. Use them for an app that sends through a mailbox and can request tokens.

  1. Register the app. Register the application in the Microsoft Entra admin center.
  2. Choose the flow. Use a delegated flow (authorization code or device authorization grant) when a signed-in user sends the mail. Use the client credentials flow when the app sends mail without a user.
  3. Add the SMTP permission. For a delegated flow request the https://outlook.office.com/SMTP.Send scope. For client credentials add the application permission SMTP.SendAsApp under Office 365 Exchange Online and ask a tenant admin to grant consent.
  4. Register the service principal. For client credentials run New-ServicePrincipal in Exchange Online PowerShell. Use the Object ID from the Enterprise applications page. The Object ID from the App registrations page causes an authentication failure.
  5. Grant mailbox access. Run Add-MailboxPermission with FullAccess rights for the service principal on the sending mailbox. Use Add-RecipientPermission when the app must send as another address.
  6. Request the token. Request the access token with the scope for your flow. For client credentials the scope is https://outlook.office365.com/.default.
  7. Authenticate over SMTP. Send AUTH XOAUTH2 followed by the base64 string that holds the user name and the access token. The server answers 235 2.7.0 when sign-in works and 535 5.7.3 when it fails. For a shared mailbox put the shared mailbox address in the user name.
New-ServicePrincipal -AppId <APPLICATION_ID> -ObjectId <OBJECT_ID>
Add-MailboxPermission -Identity "sender@yourdomain.com" -User <SERVICE_PRINCIPAL_ID> -AccessRights FullAccess

After the first successful send remove the old password from the app so it cannot fall back to it. If the sender is a shared mailbox, our guides on how to create a shared mailbox in Office 365 and why Send As is not working in Office 365 cover the mailbox side.

Can You Turn Basic Auth Back On?

For the protocols marked Disabled in the first table the answer is no. Microsoft states that nobody can restore password sign-in on them. For client submission the Exchange Team says administrators can still enable it for existing tenants after the default change at the end of December 2026. Watch the Microsoft 365 Message Center for the exact steps when the change ships.

Use a re-enabled setting as a bridge for one stubborn device. Microsoft will announce a final removal date in the second half of 2027. Tenants created after December 2026 start with password sign-in unavailable.

What Should You Do Before the End of December?

  1. Export the sender list from the Exchange admin center report.
  2. Move every sender that supports OAuth to OAuth or Graph first.
  3. Pick HVE, a connector or Direct Send for the devices that cannot, using the table above.
  4. Send one test message from each moved sender and keep the old settings written down until all senders pass.
  5. Recheck the organization and mailbox values in the first week of January 2027.

Frequently Asked Questions

Is SMTP AUTH going away?

No. Microsoft is removing Basic authentication from SMTP AUTH, not the protocol itself. Apps and devices that sign in with OAuth keep sending. Apps that still send a username and password lose access when the change reaches your tenant.

Is SMTP AUTH basic authentication?

No. SMTP AUTH is the step where a client signs in before it sends mail. Basic authentication is one way to sign in, with a username and a password. OAuth is the other way and uses an access token. Microsoft is retiring the first way and keeping the second.

Is SMTP AUTH deprecated in Office 365?

Only the password sign-in part. According to the Exchange Team, that part turns off by default for existing Exchange Online tenants at the end of December 2026. Tenants created after December 2026 start without it. Microsoft plans to announce the final removal date in the second half of 2027.

Is basic authentication deprecated?

Yes. Microsoft removed Basic authentication from Exchange ActiveSync, POP, IMAP, Remote PowerShell, Exchange Web Services, Offline Address Book, Autodiscover and Outlook for Windows and Mac. Nobody can turn it back on for those protocols. Client submission over SMTP is the exception that still accepts it today.

What does error 550 5.7.30 mean in Exchange Online?

The text after the code answers the question: Basic authentication is not supported for Client Submission. Microsoft states that apps and devices signing in with a password over SMTP receive this response once the permanent change takes effect. Move the sender to OAuth or to another sending method.

Can admins turn Basic authentication back on for SMTP AUTH after December 2026?

Yes for now. The Exchange Team states that administrators can still enable it for existing tenants after the default change at the end of December 2026. Treat that as a short bridge. Microsoft has not announced the final removal date yet and tenants created after December 2026 start with it unavailable.

Conclusion

Exchange Online Basic authentication is gone for most protocols and is next to leave SMTP submission. Separate the finished change from the pending one, find every sender that still uses a password and match each to OAuth, Graph, a connector or High Volume Email. The end of December 2026 default change is close. Move senders in order and keep the bridge setting for the one that cannot move yet.

Sources

  • Microsoft Learn: Deprecation of Basic authentication in Exchange Online
  • Exchange Team Blog: Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline (27 January 2026)
  • Exchange Team Blog: Exchange Online to retire Basic auth for Client Submission (SMTP AUTH)
  • Microsoft Learn: Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online
  • Microsoft Learn: Authenticate an IMAP, POP or SMTP connection using OAuth
  • Microsoft Learn: How to set up a multifunction device or application to send email using Microsoft 365 or Office 365
  • Microsoft Learn: High Volume Email for Microsoft 365
  • Microsoft Learn: user: sendMail (Microsoft Graph)