Skip to content

How to Block Legacy Authentication in Microsoft 365

Block legacy authentication in Microsoft 365 with Conditional Access. Find who still uses it via sign-in logs, then block it safely without breaking real apps.

MGMCSA Guru Team October 14, 2026 6 min read
Photographic illustration for How to Block Legacy Authentication in Microsoft 365: modern office laptop with cloud productivity and mail motifs

Legacy authentication is the old way clients sign in to Microsoft 365 — protocols that only pass a username and password and can’t do multi-factor authentication. That’s the whole problem. You can enforce MFA across the entire tenant, and a legacy protocol will still let an attacker in with nothing but a guessed or stolen password. It’s why password-spray attacks lean on legacy auth so heavily.

Blocking it is one of the highest-value security changes you can make, but it’s also one that breaks things if you rush. An old mail client, a printer that scans to email, or a forgotten line-of-business app might still be using it. This guide does it in the right order: find what’s still using legacy auth, fix or exclude those, then block it with a Conditional Access policy you’ve validated in report-only mode first.

What counts as legacy authentication

Legacy authentication covers any client that authenticates with basic auth or an older protocol that predates modern authentication. The common ones:

Legacy vs modern authentication

Legacy protocols IMAP, POP, SMTP AUTH, older Exchange ActiveSync, MAPI over basic auth
Legacy clients Office 2010 and older, some Office 2013 without modern auth enabled
Can it do MFA? No — only a username and password are passed
Modern authentication OAuth 2.0 based, supports MFA and Conditional Access
Modern clients Current Outlook, Microsoft 365 Apps, mobile Outlook

The defining trait is that legacy auth can’t honor MFA. Modern authentication uses OAuth and tokens, so it can. Microsoft has already retired basic authentication for most legacy protocols in Exchange Online, which removed a lot of the exposure — but a Conditional Access policy gives you tenant-wide enforcement that doesn’t rely on those Exchange changes alone.

Step 1: Find what still uses it

Never block legacy auth blind. Check the Microsoft Entra sign-in logs first to see who and what is still connecting the old way.

  1. Sign in to the Microsoft Entra admin center (entra.microsoft.com).
  2. Go to Identity → Monitoring & health → Sign-in logs.
  3. Add a filter on Client app and select the Legacy authentication clients group (IMAP, POP, SMTP, MAPI, Exchange ActiveSync, and the rest).
  4. Set the date range wide enough to catch monthly or occasional jobs.
  5. Review which users, apps, and protocols appear.

Step 2: Fix or plan around what you found

For each legacy user or app, you have three options, in order of preference:

  • Update the client. Move it to a modern Outlook or a current app version that supports modern authentication. This is the real fix.
  • Re-platform the app or device. A printer or app can often use OAuth, Graph, or a modern SMTP submission method instead of basic SMTP AUTH.
  • Scope a temporary exclusion. If something genuinely can’t move yet, exclude that specific account from the block while you plan its replacement — not the whole tenant.

Step 3: Build the Conditional Access policy

The block itself is a single Conditional Access policy. The key is to start it in report-only mode so it evaluates and logs without enforcing.

  1. In the Entra admin center, go to Protection → Conditional Access → Policies.
  2. Click New policy and name it clearly, e.g. “Block legacy authentication.”
  3. Users: select All users, then under Exclude, add your break-glass admin accounts and any temporary legacy exclusions from Step 2.
  4. Target resources: select All cloud apps.
  5. Conditions → Client apps: set the toggle to Yes, then tick Exchange ActiveSync clients and Other clients (these two cover legacy auth) and leave the modern options unticked.
  6. Grant: choose Block access.
  7. Set Enable policy to Report-only, then Create.

Step 4: Validate in report-only, then enforce

Leave the policy in report-only for long enough to catch periodic jobs — a few days at least, ideally a full cycle that includes any monthly tasks.

  1. Go back to the sign-in logs and open the Report-only tab on individual sign-ins.
  2. Look for sign-ins where the policy result is “Would have blocked.”
  3. Cross-check those against Step 1: are they all things you’ve already fixed or excluded?
  4. When the report-only results show only the legacy traffic you intend to block, edit the policy and set Enable policy to On.

Before you flip the policy to On

  • Sign-in logs reviewed; every legacy user/app is accounted for
  • Clients updated to modern auth where possible
  • Service accounts (printers, apps, monitoring) fixed or excluded
  • Break-glass admin accounts excluded from the policy
  • Report-only results show only the legacy traffic you mean to block
  • A rollback plan in case something unexpected breaks

After the block: keep it clean

Blocking legacy auth pairs naturally with the rest of your identity hardening. With legacy protocols closed, your MFA enforcement actually covers every sign-in instead of leaking around the edges. It’s worth reviewing your other Conditional Access policies at the same time so they work together rather than overlapping in confusing ways.

Keep an eye on the sign-in logs for a while after enforcing. A new legacy attempt usually means a device or app you missed, or a new one that someone set up the old way. Blocking legacy auth also cuts a major path attackers use to slip past your defenses, so it fits alongside the rest of your protection against phishing in Microsoft 365.

Bottom line

Legacy authentication is the gap that lets a stolen password bypass MFA, so closing it matters. Do it in order: find what still uses it in the sign-in logs, update or exclude those clients and service accounts, then block it with a Conditional Access policy you’ve validated in report-only mode. Exclude your break-glass accounts before you enforce, roll out in waves on a large tenant, and keep watching the logs afterward. It’s a one-time project that quietly removes one of the most-used attack paths into a tenant.

Frequently asked questions

What is legacy authentication?

Legacy authentication is any sign-in that uses older protocols which can't perform modern multi-factor authentication — things like basic auth over IMAP, POP, SMTP AUTH, and older Office clients. Because these protocols only pass a username and password, MFA can't be enforced on them, which makes them a favorite target for password-spray attacks.

Why is legacy authentication a security risk?

It bypasses MFA. Even if you've enforced MFA across the tenant, a legacy protocol only checks the password, so a stolen or guessed password is enough to get in. Blocking legacy auth closes that gap and is one of the highest-impact security changes you can make.

Will blocking legacy authentication break anything?

It can, if something still relies on it — an old mail client, a multifunction printer scanning to email over SMTP, or a line-of-business app using basic auth. That's why you check the sign-in logs first and either update those clients or scope a temporary exclusion before enforcing the block.

Hasn't Microsoft already disabled basic authentication?

Microsoft retired basic authentication for most legacy protocols in Exchange Online, which removed a big part of the exposure. SMTP AUTH and some scenarios can still be enabled, and a Conditional Access policy gives you tenant-wide enforcement that doesn't depend solely on the Exchange Online changes. Both layers are worth having.

How do I find out who still uses legacy authentication?

Use the Microsoft Entra sign-in logs and filter the Client app column for legacy authentication clients. That shows which users, apps, and protocols are still connecting the old way, so you can fix or exclude them before you turn on the block.

Does report-only mode actually block anything?

No. Report-only mode evaluates the policy and logs what it would have done without enforcing it. It's the safe way to confirm a block won't lock out something important. Once the report-only results look clean, switch the policy to On.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.