Block Legacy Authentication
This Conditional Access Policy blocks the use of legacy authentication methods that do not support modern security controls. Blocking legacy authentication helps prevent credential-based attacks and enforces stronger security standards.
Settings this baseline controls
| Setting | What it does |
|---|---|
| Policy name | Specifies a display name for the Conditional Access Policy Learn more |
| Enable policy | Specifies the state of the conditional Access Policy. Possible values are: enabled, disabled, enabledForReportingButNotEnforced. Required. Learn more |
| Included users | User IDs in scope of policy Learn more |
| Included roles | Role IDs in scope of policy Learn more |
| Included groups | Group IDs in scope of policy Learn more |
| Included guest types | Guest or external user types in scope of policy Learn more |
| Excluded users | User IDs excluded from scope of policy Learn more |
| Excluded roles | Role IDs excluded from scope of policy Learn more |
4 more settings
| Setting | What it does |
|---|---|
| Excluded groups | Group IDs excluded from scope of policy Learn more |
| Excluded guest types | Guest or external user types excluded from scope of policy Learn more |
| Grant controls | List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, compliantApplication, passwordChange, unknownFutureValue Learn more |
| Client app types | Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. Learn more |
Configure it
Add this baseline to stop sign-ins over legacy authentication protocols, which can’t do multi-factor authentication. Set it on one tenant, or once in a scheme you deploy to many.
-
Add the baseline.
Add it to the tenant (see Adding a baseline), or to a scheme you deploy (see Creating a scheme and Deploying a scheme). Then select its row to open it.
-
Keep or change the name.
Policy name starts as CAP002 - Block Legacy Authentication. Until Octiga has created a policy for this baseline, it finds the policy in Microsoft Entra by this name, so to bring a policy the tenant already has under the baseline, enter that policy’s name here. Once Octiga has created the policy, it keeps tracking that policy even if it’s renamed, and a new name here renames it when the baseline is next remediated.
-
Set the state.
Leave State (the settings table calls it Enable policy) at Enabled to enforce the policy, or choose Report-only to see who it would affect before it blocks anyone.
-
Choose who it covers.
Included starts at All Users. Under Excluded, tick Directory roles, Users or Groups for accounts that still need legacy access, most often a few service accounts. The settings table splits these two rows into Included users, Included roles, Included groups and Included guest types, and the matching Excluded rows. In a scheme, only directory roles can be named in either row; to name users or groups, add the baseline to the tenant directly.
-
Leave the fixed parts.
Client apps (Exchange ActiveSync and other clients, the legacy protocols) and Grant (block) are read-only, so the policy blocks legacy authentication without touching modern browser and app sign-ins. The settings table calls them Client app types and Grant controls.
-
Save, then remediate.
Save changes what Octiga checks for, not Microsoft 365. To create or update the policy, remediate the baseline on the tenant (see Remediation), or switch on Auto for its row, on the tenant or in the scheme. Auto acts only while the tenant’s Allow auto-remediation setting is on (Tenant settings).
Check it worked
Until the baseline is remediated, or the tenant already has a policy with its name, the baseline shows Deviated and Policy name reads No policy under Currently set to:.
The baseline shows Passing when the tenant has a policy whose name matches Policy name, in the state you chose, that blocks Exchange ActiveSync and other legacy clients and includes and excludes the same roles, users and groups as the baseline. A policy that blocks legacy authentication under another name isn’t counted, and an exclusion added in Microsoft Entra that the baseline doesn’t have shows as Deviated. Select the orange indicator beside a field to see what Microsoft 365 has. You can also check the policy in the Microsoft Entra admin centre under Entra ID > Conditional Access > Policies.
Users on modern authentication notice nothing. Anyone still connecting over a legacy protocol is refused, so an old mail client or app loses access to Exchange Online.
Standards this addresses
Doing this for every tenant?
Step through the deploy wizard to apply a scheme to a tenant, groups or users, and see what Managed and Direct do at deploy time.