Entra ID Article

Should you still disable legacy sign-in, even if using Conditional Access?

It's no secret that Conditional Access is the pillar of any good security plan and one of the best features available as part of the...

Should you still disable legacy sign-in, even if using Conditional Access?

It’s no secret that Conditional Access is the pillar of any good security plan and one of the best features available as part of the Microsoft 365 Business Premium license set aimed at small businesses, but it’s not the be all and end all and other security measures should be implemented around it.

I recently attended a session with the Microsoft 365 Security and Compliance User Group and asked the question “Should I still be disabling legacy authentication at the tenant level, even if I have it blocked via Conditional Access, I want to stop seeing failed sign-ins, because CA applies after authentication I continue to get the failed sign-in attempts and it’s annoying!” to which the response was “go test it and let us know” - So here’s my research and findings around my original question!

First things first, lets get some legacy auth sign in logs!

I first had to enable legacy authentication for my test user account in order to test, I did this from the Microsoft 365 Admin portal but you can also do this with PowerShell as well.

Migrated image 1

In order to get some logs I kept it simple and just used PowerShell to connect to my test user account and sent a test email over SMTP using the below PowerShell commands, just remember to update your From and To addresses.

$msolcred = get-credential
Send-MailMessage –From [[email protected]](mailto:[email protected]) –To [[email protected]](mailto:[email protected]) –Subject “Test Email” –Body “Test SMTP Relay Service” -SmtpServer smtp.office365.com -Credential $msolcred -UseSsl -Port 587

Great, now I have some sign-in logs using legacy auth and I can continue to use that sign-in protocol.

Migrated image 2

Now we need to create the Conditional Access policies to block legacy authentication, after which I’m expecting to see failed sign-in attempts in the Azure AD sign-in logs. Normally I would create custom CA policies but we’ll use the new ‘create policy from template’ preview option for speed and ease, keep it in report only mode until you are happy to enable the policy.

Migrated image 3

I can see after reviewing the policy everything is configured as we would want it, so I go ahead and enable it for all users.

Migrated image 4

Migrated image 5

After 5-10 minutes I attempt to authenticate again, this time using SMTP Test Tool (gmass.co) and just as expected we see the failed sign-in within the Azure AD sign-in logs section.

Migrated image 6

And herein lies my original question, if we disable legacy auth at the tenant or user level, do we still see these failed sign in attempts in the Azure sign-in logs, so now time to disable it for my test user in the Microsoft 365 Admin portal.

Migrated image 7

I wait another 5-10 minutes for the changes to take effect and then test again, this time with both PowerShell and SMTP Test Tool (gmass.co).

Migrated image 8

Migrated image 9

Bingo! What would have been two failed sign in attempts, now lets go back and check the Azure sign-in logs.

Migrated image 10

Sure enough the only sign-ins we see were those that were made when SMTP authentication was enabled for the user and with Conditional Access blocking one of the sign-ins.

This is good information to know because we now know that by disabling legacy authentication protocols at the user or ideally, at the tenant level we can:

After playing out the scenarios the above makes total sense, because Conditional Access policies don’t apply until after authentication, we see these in the Azure AD sign-in logs, but when we disable the legacy authentication protocol altogether sign-in attempts don’t even make it that far, altogether providing a more secure and cleaner environment.

So, the answer is yes! We should be disabling legacy authentication protocols in Microsoft 365, even if you are already blocking them using Conditional Access policies.

Related writing
Entra ID 5 February 2023

Getting started with Azure AD cross-tenant synchronisation

Cross tenant sync is a feature I've been waiting to see for a while and with the announcement of cross tenant access settings, I knew it...

9 min read
Entra ID 7 April 2022

Setting up Shared Channels in Microsoft Teams

Collaboration with external partners is becoming more and more the norm, COVID pushed most organisations into the cloud and even helped...

9 min read
Entra ID 15 December 2025

Streamlining Employee Onboarding with Entitlement Management (Part 2)

In Part 2, we simulate HR-driven user provisioning with PowerShell, trigger onboarding workflows, and walk through the end-user experience of requesting and receiving access via Entitlement Management. See how approvals, automation, and Access Packages remove the manual workload from IT.

5 min read
Site search

Find a practical answer

Start typing to search posts and deployment guides.

    Esc closes · Results are generated locally with Pagefind