Microsoft 365 how-to

How to block legacy authentication in Microsoft 365

Legacy authentication protocols can’t do multi-factor authentication, so one stolen password is enough to sign in through them. Blocking them is one of the 7 Critical items in our Microsoft 365 checklist. Here is how to do it safely.

Updated November 2026 · Written by IT Ops in a Box

Why it matters

Legacy (or "basic") authentication sends a username and password with each request, and has no way to prompt for MFA. If any path into your tenant still accepts it, your MFA policy has a hole in it, and password-spraying attacks look for exactly that. Cyber insurers asking "is MFA enforced for email?" are effectively asking whether you have closed these paths.

Where things stand in 2026

  • Microsoft began turning off basic authentication for most Exchange Online protocols (such as POP, IMAP, Exchange Web Services and ActiveSync) in October 2022.
  • SMTP AUTH, used by printers, scanners and line-of-business apps to send mail, was left out. Microsoft's current plan is to disable basic authentication for SMTP AUTH by default at the end of December 2026. Admins will still be able to switch it back on, and Microsoft will announce a final removal date in the second half of 2027.
  • Blocking legacy authentication at the identity layer is still worth doing: it covers anything Microsoft hasn't switched off, and it gives you a clear policy to point auditors and insurers to.

Step 1: Find out what still uses legacy authentication

  1. In the Microsoft Entra admin center (entra.microsoft.com), go to Entra ID > Monitoring & health > Sign-in logs.
  2. Add the Client app column if it isn't shown, then Add filters > Client app and select all the legacy authentication protocols.
  3. Repeat on the User sign-ins (non-interactive) tab.
  4. Note each user, device or app that appears. Typical culprits are multifunction printers and scanners, old mail clients, and scripts or apps sending mail.

Fix or replace those first: move apps to modern authentication (OAuth), or move device mail to a supported alternative such as a mail relay connector.

Step 2a: Block it with Conditional Access (Entra ID P1)

If you have Microsoft 365 Business Premium, E3 or E5, use Conditional Access:

  1. Go to Entra ID > Conditional Access > Policies > New policy, and give it a clear name such as "Block legacy authentication".
  2. Under Users, include All users. Exclude your break-glass emergency accounts, and any account you must temporarily allow.
  3. Under Target resources, include All resources.
  4. Under Conditions > Client apps, set Configure to Yes and select only Exchange ActiveSync clients and Other clients.
  5. Under Grant, choose Block access.
  6. Set the policy to Report-only and create it.
  7. After a week or two, check the report-only results in the sign-in logs. When nothing legitimate would be blocked, switch the policy to On.

Step 2b: No P1 license? Use security defaults

On Business Basic or Business Standard, Conditional Access isn't included. Turn on security defaults instead (Entra ID > Overview > Properties > Manage security defaults). Microsoft says security defaults block legacy authentication, and they also require MFA registration for all users. You can't use security defaults and Conditional Access at the same time.

Step 3: Turn off SMTP AUTH where you don't need it

Disable SMTP AUTH organization-wide, and turn it back on only for the specific mailboxes that genuinely need it. In Exchange Online PowerShell:

Set-TransportConfig -SmtpClientAuthenticationDisabled $true

Per-mailbox exceptions can then be enabled individually. Moving those devices to OAuth or a connector before the end of 2026 avoids a surprise when Microsoft changes the default.

Common mistakes

  • Going straight to "On". Report-only mode shows what would break before it breaks.
  • Forgetting break-glass accounts. Always exclude your emergency access accounts from Conditional Access policies.
  • Only checking interactive sign-ins. Many legacy connections show up as non-interactive.
  • Assuming service accounts are covered. Conditional Access policies aimed at users don't block service principals; those need workload identity policies.
Free resource

Microsoft 365 Security Baseline Checklist

35 settings that close the gaps attackers, auditors and cyber insurers look for first, each with why it matters and exactly where to change it. Start with the 7 marked Critical.

Free. We'll also send occasional practical IT ops tips and information about our products and services. Unsubscribe any time.

FAQ

Common questions

What counts as legacy authentication in Microsoft 365?

Protocols that use basic authentication (a username and password on each request) instead of modern authentication (OAuth), such as older POP, IMAP, SMTP AUTH, Exchange ActiveSync and Exchange Web Services clients. They can’t prompt for MFA.

Do I need Entra ID P1 to block legacy authentication?

Not necessarily. Conditional Access needs P1 (included in Business Premium, E3 and E5), but security defaults, which are free, also block legacy authentication.

Will blocking legacy authentication break my printer’s scan-to-email?

It can, if the printer uses SMTP AUTH with basic authentication. Check the sign-in logs first, then move the device to OAuth if it supports it, or to an SMTP relay connector.

When is Microsoft turning off basic authentication for SMTP AUTH?

Microsoft’s current plan is to disable it by default at the end of December 2026, with admins able to re-enable it, and to announce a final removal date in the second half of 2027. Check Microsoft’s message center for updates.

Sources

This guide is general information, not legal, insurance or audit advice.