Basic Authentication Exchange Online: Deprecation Guide
Exchange Online disables Basic Authentication for SMTP AUTH in December 2026. Find affected apps and printers, check sign-in logs, and migrate to OAuth in time.
Say Goodbye to Basic Authentication in Exchange Online: What You Need to Know
Microsoft is making another move in its longterm mission to secure the modern workplace. Basic Authentication for Client Submission (SMTP AUTH) in Exchange Online is being phased out in favor of more secure, modern alternatives (OAuth) for sending e-mail.
Update (Jan 2026): Microsoft refined the timeline for disabling SMTP AUTH Basic Authentication, based on customer feedback and adoption progress. The milestones below replace the previously communicated September 2025 “permanent disable” expectation.
Even with the extended timeline, don’t wait until the end-of-2026 default-disable milestone. Basic Authentication is legacy for a reason. Move to OAuth as soon as you can to reduce credential-theft risk and avoid last-minute surprises with printers and legacy apps.
What Is Basic Authentication and Why Is It Being Removed?
Client submission via authenticated SMTP is when a device or application sends outbound email using Microsoft 365, typically through smtp.office365.com:587.
Basic Authentication uses simple username and password credentials that are Base64 encoded. While this encoding provides minimal obfuscation, it’s easily decoded. It later on transfers through TLS, which makes it encrypted. Yet it brings several security risks:
- Phishing: If intercepted, credentials can be easily gained
- No multi-factor authentication support: Basic Auth bypasses MFA entirely
- Bruteforce: Easier target for credential stuffing and brute force attacks
Although most organizations have implemented the “Block Legacy Authentication” Conditional Access policy, many environments still have exceptions for printers, legacy applications, or other systems.
Modern authentication methods like OAuth use token-based authentication, significantly reducing these risks.
Timeline and Communication
Updated SMTP AUTH Basic Auth timeline (as communicated Jan 27, 2026)
- Now through December 2026: SMTP AUTH Basic Authentication behavior remains unchanged.
- End of December 2026: SMTP AUTH Basic Authentication will be disabled by default for existing tenants. Administrators will still be able to enable it if needed.
- New tenants created after December 2026: SMTP AUTH Basic Authentication will be unavailable by default. OAuth will be the supported authentication method.
- Second half of 2027: Microsoft will announce the final removal date for SMTP AUTH Basic Authentication.
When SMTP AUTH Basic Auth is disabled for a mailbox/tenant, affected clients typically receive:
550 5.7.30 Basic authentication is not supported for Client Submission.
How to Identify Basic Authentication Usage
Block Basic Authentication with Conditional Access (recommended)
Even before Microsoft flips the default for SMTP AUTH Basic Authentication switch, you should reduce exposure by blocking legacy authentication sign-ins in Microsoft Entra ID.
- Conditional Access can block sign-ins from legacy authentication clients (including protocols like Authenticated SMTP, IMAP, POP, Exchange ActiveSync, and “Other clients”).
- If your tenant uses Security Defaults, legacy authentication is typically blocked for most scenarios already—verify whether you’re running Security Defaults or Conditional Access, and confirm exceptions are intentional.
- Use exclusions carefully (for example, break-glass accounts) and treat any remaining SMTP AUTH Basic Auth usage as technical debt to retire.
This is complementary to Microsoft’s platform changes: Conditional Access reduces risk now; the 2026+ milestones reduce risk by changing the default behavior.
Using Microsoft Entra Sign-In Logs
You can track Basic Auth usage using Microsoft Entra Sign-In Logs:
- Navigate to Microsoft Entra > Identity > Users > Sign-in logs
- Apply these filters:
- Client App: Select Authenticated SMTP, Exchange ActiveSync, IMAP, POP, Other clients
- Status: Filter on Success to see active usage (failures often indicate blocked attempts)
Focus on successful sign-ins to identify which users, devices, or applications are actively using Basic Authentication. You’ll commonly find:
- Multifunction printers (MFPs) using scan-to-email
- Legacy business applications
- Custom scripts or tools
- Older mobile devices
Important Note: If you’re using third-party software or line-of-business applications that send email using your domain, those will need to switch to modern authentication. This often involves configuring an App Registration in Microsoft Entra ID and granting the application appropriate permissions to send mail on behalf of a user or mailbox.
The kusto way
Use Kusto Query Language (KQL) in Log Analytics for more advanced analysis if logs are being sent to a Log Analytics workspace.
An example query:
1
2
3
4
5
6
SigninLogs
| where TimeGenerated > ago(5d)
| where not(ClientAppUsed has "Mobile Apps and Desktop clients")
| where not(ClientAppUsed has "Browser")
| where ClientAppUsed == "Authenticated SMTP"
| summarize arg_max(TimeGenerated,*) by UserPrincipalName
This query looks for users who signed in using only the legacy protocol “Authenticated SMTP” in the past 5 days. It excludes any sign-ins using modern clients or browsers, helping to identify accounts still relying on outdated authentication methods.
Migration options
Multifunction Printers
Most modern printers support OAuth authentication:
- Check printer firmware: Ensure you’re running the latest version (Who knows if new features have been added)
- Contact your vendor: Ask about OAuth/modern authentication support (They should have by now!)
- Configure app registration: Create a dedicated app registration for printer authentication
- Test thoroughly: Verify scan-to-email functionality well before the end-of-2026 default-disable milestone
Applications
Applications sending email programmatically should move to:
- Microsoft Graph API: The modern alternative for sending emails
- OAuth 2.0 with client credentials flow: For service-to-service authentication
- Application permissions: Grant appropriate Mail.Send permissions
In most cases it is vendor specific how the app registration is being configured. Always make sure that you checkout the permission requirements and think about what this means. Nowadays there are many types of permissions. So the day of “Permission to all” is long gone!
Checklist
So lets grab a little checklist which we can use to move away from SMTP AUTH Basic Authentication well ahead of the end-of-2026 milestone.
- Audit current Basic Auth usage using sign-in logs
- Identify all devices, applications, and services using SMTP AUTH
- Contact vendors for modern authentication support
- Create app registrations for each service requiring email sending (See vendor knowledge items which permissions)
- Configure OAuth authentication in applications
- Test email functionality in the app/printers
- Update monitoring and alerting for new authentication methods
- Schedule migration completion before the end of December 2026 (earlier is better)
Lets remove the basic-authentication door
So lets remove the entire door and its frame and brick it up so no one can knock on it ever again.
- Navigate to Microsoft 365 Admin Center
- Go to Settings > Org Settings
- Search for “Modern authentication”
- Disable “Authenticated SMTP”
Warning: Only disable after confirming no critical services depend on Basic Auth. Use the sign-in logs to verify no recent successful authentications.
Conclusion
The deprecation of Basic Authentication in Exchange Online represents a significant security improvement for Microsoft 365 environments. While the migration requires planning and effort, it will be worth it as it keeps your sign-in logs more clean, increase your security posture and will have better opportunities to monitor.
Closing legacy authentication is one step. Attackers also abuse modern authentication flows, so make sure you understand device code phishing and how to block it with Conditional Access. And while you are hardening Exchange Online, verify your mail domain records too: Start defending, but watch your DNS covers SPF and why it matters.

