Clicky

Microsoft Entra Conditional Access: Configuration Mistakes That Cause User Lockouts

A finance employee cannot open Outlook an hour before payroll goes out. A salesperson lands in a new city and Teams refuses to sign in. An administrator switches on a new security policy and discovers that the one account able to switch it off is also locked out. None of these people did anything wrong. The policy did exactly what it was told to do.

Conditional Access is one of the strongest security tools in Microsoft 365, and one of the easiest to misconfigure. A policy that is too broad, too early or too strict does not just add friction. It stops work. This guide covers how Conditional Access decides, what you need to use it, ten mistakes that cause lockouts, how to roll out policies safely and how to troubleshoot a blocked sign-in without weakening your security. The facts come from Microsoft’s documentation, checked in November 2026. We do not list prices, because they depend on your licensing.

Quick answer: Conditional Access lockouts usually come from a handful of mistakes: policies that include emergency accounts, MFA required before users have registered, overlapping policies, location rules that ignore remote work, compliant-device rules for unmanaged devices, forgotten exclusions and policies enforced without testing. Prevent them by excluding break-glass accounts, using report-only mode, piloting with a small group and reading the sign-in logs.

Key Takeaways

  • Conditional Access needs Microsoft Entra ID P1, or a Microsoft 365 Business Premium license. Risk-based policies need P2.
  • Always exclude at least two emergency access accounts from every policy, and check this before each deployment.
  • Template policies are created in report-only mode. Microsoft suggests running a policy there for at least a week before enforcing it.
  • Policies are cumulative, so a user must satisfy every policy that applies to them.
  • Block legacy authentication, but check your sign-in logs first so you do not break older mail clients and devices.
  • When someone is blocked, read the sign-in log before you change or disable a policy.

What Is Microsoft Entra Conditional Access?

Conditional Access is the policy engine in Microsoft Entra ID that evaluates each sign-in and decides whether to allow it, ask for more proof or block it. Microsoft describes it as its Zero Trust policy engine, taking signals from various sources into account when enforcing policy decisions. Microsoft Entra ID was previously called Azure Active Directory, so older articles and some admin screens still use the earlier name.

If you run Microsoft 365, Conditional Access sits in front of Exchange Online, Teams, SharePoint, OneDrive and every other app that signs in through Entra ID. You find it in the Microsoft Entra admin center under Entra ID, then Conditional Access.

A business might use policies that:

  • Require multifactor authentication (MFA) when staff sign in from outside the office.
  • Block sign-ins from countries where nobody works.
  • Allow access to sensitive apps only from compliant devices.
  • Ask for extra verification when a sign-in looks risky.

The same tool that protects the business can lock it out. That is why this guide spends more time on the mistakes than on the features.

How a Conditional Access Policy Decides

A Conditional Access policy is an if-then statement: if a sign-in matches these conditions, then apply this access control. Microsoft’s own example is that when a user accesses an application such as Microsoft 365, they must complete MFA to get access.

Diagram of how Conditional Access decides: signals such as user, device, location, application and sign-in risk go into the policy engine, which allows access, requires MFA, requires a compliant device or blocks access

  • Conditions: when the policy applies

    Microsoft’s planning guidance lists the main conditions. They include users, groups and directory roles, target resources such as apps and user actions, device platforms, network locations, client app types and device attributes. Sign-in risk and user risk can also be used when you have Microsoft Entra ID Protection.

    Access controls: what happens next

    Grant controls decide what the user must do. Microsoft lists requiring MFA, a compliant device, a Microsoft Entra hybrid joined device, an approved client app, an app protection policy, a password change or acceptance of terms of use, or blocking access altogether. Session controls then shape the session, such as sign-in frequency and persistent browser sessions.

  • Policies add up

    When more than one policy applies, the user must satisfy all of them. A policy that does not trigger simply issues the token. Microsoft’s example is a policy that requires MFA for the Finance group: it does not stop anyone outside Finance. To keep everyone but Finance away from the Payroll app, you would add a separate block policy that includes all users and excludes the Finance group. Most lockouts come from forgetting this layering.

What You Need: Licensing and Security Defaults

  • Licensing in plain terms

    Microsoft says using Conditional Access requires Microsoft Entra ID P1 licenses, and that customers with Microsoft 365 Business Premium licenses can also use Conditional Access features. Risk-based policies, which react to sign-in risk or user risk, require Microsoft Entra ID Protection, which is a P2 feature. Features such as workload identities and Microsoft Purview integrations need their own licensing as well.

    If your users hold a mix of licenses, check who is actually covered before you rely on a policy. Microsoft’s documentation names P1 and Business Premium, and we could not find a clear statement covering users on other Microsoft 365 licenses, so verify rather than assume. Our overview of the security-focused small business license shows what is bundled with it, and we do not repeat prices here.

  • Security defaults: the free baseline

    Security defaults are preconfigured settings available to every tenant. They require all users to register for MFA, require administrators to use MFA and block legacy authentication protocols. Microsoft enables them by default on new tenants. They are the right choice for a small organization that does not have Conditional Access licensing.

    They are also all-or-nothing. You cannot exclude a break-glass account or target one group. When you outgrow them, Microsoft provides equivalent policies you can create in Conditional Access once you turn the defaults off. Create and test those first, so there is no gap in which users are unprotected, and note that you cannot run security defaults and custom Conditional Access policies side by side.

Question Security defaults Conditional Access
Who can use it? Every tenant Tenants with Entra ID P1 or Business Premium
Targeting Everyone, no exceptions Users, groups, apps, devices, locations
Break-glass exclusions Not possible Yes, and strongly advised
Testing before enforcement No Report-only mode and the What If tool
Best for Small tenants wanting a safe baseline Organizations that need control and auditing

Ten Conditional Access Mistakes That Lock Users Out

Most lockouts trace back to a small set of repeatable errors. If staff report unexpected sign-in problems, check these first.

1. Applying policies to everyone, emergency accounts included

The most damaging mistake is applying a strict policy to all accounts, including the administrators who would fix it. Imagine a policy that requires MFA or a compliant device for every sign-in. If an administrator cannot meet it, nobody can open the tools needed to change it, and a small task becomes a company-wide outage.

  • Keep at least two dedicated emergency access accounts, and exclude them from every policy.
  • Store the credentials securely and define who may use them.
  • Test them on a schedule and alert on any sign-in they make.
  • Never use them for daily administration.

Microsoft’s advice is to verify that emergency access accounts are excluded from all policies before you deploy anything. Template policies exclude only the person who creates them, so you must add the break-glass accounts yourself.

2. Requiring MFA before users have registered

MFA works only for people who have set up a method, such as the Microsoft Authenticator app. If you enforce a policy before registration, unregistered users hit a wall and your help desk takes the calls.

  • Decide which accounts need MFA and tell them in advance.
  • Give users time to register, and check that backup methods exist.
  • Protect the registration page itself with its own policy, as Microsoft’s rollout guidance suggests.
  • Start with a pilot group before the whole company.

3. Creating overlapping or conflicting policies

Policies are added gradually, and over time several apply to the same person. One may exempt a user from MFA while another requires it. A policy that allows trusted locations will not cancel another policy that blocks them, because every applicable policy must be satisfied.

  • List existing policies before writing new ones.
  • Give each policy a descriptive name that says who, what and which control.
  • Avoid duplicate conditions unless you know how they combine.
  • Test how policies work together, not one at a time.

Keep the total manageable. Microsoft’s planning page states a limit of 240 policies per tenant across all states, though an older copy of the same page said 195, so check the current number.

4. Blocking locations without thinking about remote work

Location rules look simple. An accountancy practice allows its financial apps only from the office network. Then an accountant works from home, or travels, or the internet provider changes the office’s public IP address, and a legitimate user is blocked.

  • Map where people really work before you define trusted locations.
  • Account for remote work, travel and changing IP addresses.
  • Do not treat every unknown location as hostile. Use MFA for unknown places and block only places nobody should sign in from.
  • Exclude emergency access accounts from country or region blocks.

5. Requiring compliant devices before devices are managed

A compliance requirement is only fair if people have a way to meet it. If you require compliant devices but have not enrolled laptops and phones, or you have not decided whether personal devices are allowed, correct passwords will not help anyone sign in.

  • Inventory the devices staff actually use, across Windows, macOS, iOS and Android.
  • Decide whether personal devices are acceptable and how they enroll.
  • Define compliance rules, such as encryption and operating system versions, before you enforce them.
  • Test on each platform and tell staff what to expect.

Our guide to enrolling and managing devices explains the groundwork that makes compliance rules workable.

Free guidance

Worried a policy could lock your team out?

Send us your current policies and licensing. We will review exclusions, emergency access, device and location rules and tell you what to fix before it causes an outage.

6. Letting exclusions pile up

Exclusions let you carve out accounts that need different treatment. They also become permanent. An administrator excludes a whole department from MFA to solve a temporary problem, nobody revisits it and a group stays outside your protection for months.

  • Use dedicated exclusion groups rather than editing policies user by user.
  • Record why each exception exists and who owns it.
  • Review exceptions on a schedule and remove temporary ones as soon as the issue is solved.

Treat exclusions as a controlled process, not a way around investigating a problem.

7. Enforcing a policy without testing it

A policy that looks right can behave differently in practice, especially across many users and apps. Turning it on for everyone is the quickest way to find out. Use the testing tools instead.

  • Report-only mode evaluates the policy during real sign-ins without enforcing it, so you can see who would have been affected.
  • The What If tool simulates a sign-in and shows which policies would apply and why.
  • A pilot group applies the policy to a few representative users first.
  • Sign-in logs show what actually happened and which policy acted.

None of these replaces the others. Report-only mode shows real behavior, What If recreates a chosen scenario, and neither captures every dependency, so finish with a controlled pilot. Microsoft also notes that report-only mode does not apply to policies scoped to user actions, and that a report-only policy that needs a compliant device may still prompt Mac, iOS and Android users to pick a certificate.

8. Never reviewing logs or policy changes

Companies adopt new apps, replace devices and change how people work. Policies that were right last year may be wrong now, and nobody notices because nobody is looking.

  • Review sign-in logs for repeated Conditional Access failures.
  • Find out which policy blocked each failed sign-in, and why.
  • Revisit policy assignments after reorganizations, acquisitions and new app rollouts.
  • Watch for unexpected changes to important policies.

9. Blocking legacy authentication without checking who still uses it

Blocking legacy authentication is among the most valuable policies you can create. Microsoft’s analysis says more than 99 percent of password spray attacks use these older protocols, which cannot perform MFA. It is also a classic cause of surprise lockouts, because older Outlook versions, scanners, multifunction printers and line-of-business apps may still depend on them.

  • Look in the sign-in logs for legacy client sign-ins before you enforce the block.
  • Update or replace the apps and devices that still use them.
  • Run the block policy in report-only mode first.
  • Keep a documented exception path for anything that truly cannot change, and review it often.

10. Forgetting that service accounts and apps sign in too

Scripts, scheduled jobs and shared mailboxes often sign in with a normal user account. An MFA policy suddenly breaks the nightly export. Microsoft notes that policies scoped to users do not block service principals, which is a different gap: apps can keep signing in while you think they are covered.

  • Inventory accounts that sign in without a person at the keyboard.
  • Move automation to managed identities or service principals where possible.
  • Use Conditional Access for workload identities to cover service principals.
  • Avoid blanket exclusions for unknown accounts, because those become permanent holes.

Policies Worth Starting With

Microsoft provides template policies grouped by scenario, and its Secure foundation set is the recommended place to start. Each template creates the policy in report-only mode, so you can see the effect before it enforces anything.

  • Require multifactor authentication for admins.
  • Securing security info registration.
  • Block legacy authentication.
  • Require multifactor authentication for all users.
  • Require multifactor authentication for Azure management.
  • Require a compliant or hybrid joined device, or MFA, for all users.

You do not need to enable them all on day one. Microsoft’s phased guidance starts with blocking legacy authentication and securing the MFA registration page, then moves to strong authentication for all users and guests, then to risk-based and advanced policies, which need P2 for the risk-based ones.

Microsoft also deploys some of its own policies to eligible tenants, in report-only mode, which you can then edit or turn on. Look at your policy list before you create duplicates. Our wider guide to Microsoft 365 security habits shows where Conditional Access fits among other controls.

A Safe Rollout Process for Every Policy

The safest way to enforce a policy is to build it in report-only mode, check the results, pilot with a small group and widen in stages. This is the process we recommend, built on Microsoft’s guidance.

Six steps for rolling out a Conditional Access policy safely: protect emergency access, build in report-only mode, check the results, pilot with a small group, enforce in waves and review on a schedule

  1. Protect emergency access. Confirm break-glass accounts are excluded from the policy.
  2. Build in report-only mode. Microsoft’s tip is to leave it there for at least a week.
  3. Check the results. Read the sign-in logs and use the What If tool for tricky cases.
  4. Pilot with a small group. Include users on different devices, networks and apps.
  5. Enforce in waves. Widen the scope gradually and keep a rollback plan ready.
  6. Review on a schedule. Revisit exclusions and logs regularly.

For rollback, Microsoft lists three options: disable the policy, exclude a user or group, sparingly, or delete a policy that is disabled and no longer needed. Deleted policies can be restored within a 30 day soft-delete period.

A pre-change checklist

  • The right users and groups are selected.
  • Emergency access accounts are excluded.
  • Staff have registered a verification method.
  • Device compliance expectations are realistic.
  • Remote work and travel have been considered for location rules.
  • Duplicate and overlapping policies have been reviewed.
  • The policy has run in report-only mode.
  • Representative users have tested it.
  • A contingency plan exists if it blocks access.

Want a second pair of eyes before you enforce?

A Conditional Access review looks at your licensing, policies, exclusions and sign-in logs before an outage forces the issue. We tell you what to change and help you roll it out in stages.

Get a Policy Review →

What we handle for you

✓Policies, exclusions and emergency access reviewed
✓MFA registration and device readiness planned
✓Report-only rollout and pilot support
✓Certified Microsoft engineers on call

How to Troubleshoot a Conditional Access Sign-In Failure

When someone cannot sign in, find which policy acted and why before you change or disable anything. Removing a security requirement to fix one person can expose everyone.

Step 1: Identify the user, the app and the timing

Find out who is affected, which application they were opening and when the problem started. One user suggests a device, network or account issue. A group points to a policy or exclusion. Many apps suggest a wide rule.

Step 2: Read the sign-in logs

Open the user’s sign-in events in the Microsoft Entra admin center. They show whether Conditional Access applied, which policy did, the app, the device and location information, and the reason access was denied. That separates a policy problem from a wrong password or an MFA failure.

Step 3: Use the What If tool

The What If tool simulates a sign-in for a chosen user and app and shows which policies would apply. It is most useful when several policies might match. Use it alongside the logs, because it cannot reproduce every dependency.

Step 4: Review the policy, then change it

Look at the conditions, assignments, exclusions and controls of the policy you found. Decide whether it is doing what you intended or needs correcting. Do not strip out a requirement simply because one person is struggling.

Step 5: Test the fix

Put the corrected policy into report-only mode or in front of a test group. Check that the right people can sign in and that the protection is still in place, which matters most for policies that cover administrators or large groups.

If every administrator is locked out

Use an emergency access account that is excluded from the policy. Sign in, open the Conditional Access policies list and disable the policy or fix its assignments. Then read the logs to learn what happened. This is the situation emergency accounts exist for, and it is why testing them regularly matters.

What to Check When One App Is Affected

When only one Microsoft 365 app fails, the cause is often a condition tied to that app, such as the client type or the device, rather than the whole policy. These are the first things we look at, based on the cases we handle. They are our experience, not a Microsoft list.

  • Outlook and Exchange Online

    Older Outlook versions, phone mail apps and scanners that send mail may use legacy authentication. If you block legacy authentication, those are the first things to stop. Check the client app type in the sign-in log before you touch the policy. Shared mailboxes are another trap: they are not meant for direct sign-in, so a blocked sign-in to one usually points to a different problem.

  • Teams

    Teams depends on several services, so a policy that targets one cloud app can break it in confusing ways. Microsoft documents service dependencies for Conditional Access, and a policy aimed at a single app may also apply to the services it relies on. If Teams fails but Outlook works, compare the apps listed in the log entry with the apps your policy targets.

  • SharePoint and OneDrive

    Sync clients and the browser can behave differently. A compliant-device rule may let the browser through and block the sync client, or the reverse, depending on how the device is registered. Test both, on each platform your staff use.

  • Mobile devices and personal phones

    Approved client app and app protection policy controls are made for personal phones. If your policy demands a compliant device instead, users on personal phones will be blocked unless they enroll. Decide which path you want before staff find out the hard way.

Document Your Policies So Others Can Fix Them

A policy list that only one administrator understands is a lockout waiting to happen. When that person is away, nobody can tell why a rule exists or whether it is safe to change.

  • Name policies clearly. A name such as Require MFA, All users, Microsoft 365, Excl break-glass tells the next person what it does at a glance.
  • Keep a register. For each policy record the owner, the reason, the date and any exclusions with their reasons.
  • Export before you change. Microsoft lets you export a policy’s JSON definition, which gives you a copy to compare or restore from.
  • Record changes. Note what changed, when and why, so a later problem can be traced to a change.
  • Hold a review. A short quarterly check of the list, the exclusions and the logs catches drift early.

Good records also help when you bring in outside help, because a reviewer can start from facts, not from guesswork.

Mandatory MFA Is Not the Same as Your Policies

Microsoft is enforcing MFA on its own for some administrative portals, and that enforcement does not replace Conditional Access policies you write for your own apps and users. Microsoft began requiring MFA for all users signing in to the Microsoft 365 admin center in February 2025, and announced further ramp-up from 9 February 2026. Azure Resource Manager enforcement, covering tools such as the Azure CLI and PowerShell, began on 1 October 2025.

Microsoft’s own guidance for preparing is to configure a Conditional Access policy that requires MFA. So the mandatory rollout is a reason to review your policies, not a substitute for them. If administrators were locked out of an admin portal recently, check whether MFA registration is the cause before changing a policy.

Conditional Access Best Practices at a Glance

Best practice Why it matters
Keep emergency access accounts A recovery route if administrators are locked out
Test in report-only mode Shows who would be affected before enforcement
Use pilot groups Limits the impact of unexpected behavior
Review overlapping policies Policies add up, so conflicts stack
Prepare users for MFA Prevents failures from unregistered methods
Plan device compliance Stops unprepared devices blocking legitimate users
Review exclusions regularly Keeps exceptions controlled and reduces gaps
Monitor sign-in logs Reveals repeated failures and policy problems

These habits matter most for organizations with remote employees, several business apps and a mix of managed and personal devices. If you want help putting them in place, our Microsoft 365 security support covers identity, devices and email protection together, and our guide to email threat protection options covers the mail side.

Also Read: 7 Best Security Practices for Office 365

Frequently Asked Questions

  1. What is Conditional Access in Microsoft 365?

    Conditional Access is the policy engine in Microsoft Entra ID that decides whether a sign-in is allowed. It reads signals such as who the user is, which device and location they are using and which app they want, then applies a control such as requiring MFA, requiring a compliant device or blocking access.

  2. How can a Conditional Access policy lock legitimate users out?

    It happens when a policy’s conditions or controls do not match how people actually work. Common causes are requiring MFA before users have registered a method, requiring compliant devices that are not enrolled, blocking locations that remote staff use, or overlapping policies that stack requirements.

  3. What license do I need for Conditional Access?

    Microsoft says Conditional Access requires Microsoft Entra ID P1, and that Microsoft 365 Business Premium customers can also use it. Risk-based policies need Microsoft Entra ID Protection, which is a P2 feature. Check the licenses assigned to each user, because licensing is evaluated per user.

  4. What is the difference between security defaults and Conditional Access?

    Security defaults are a preconfigured baseline available to every tenant. They require MFA registration, require MFA for administrators and block legacy authentication. Conditional Access lets you target specific users, apps, devices and locations and combine controls. If you move to Conditional Access, recreate equivalent protections before turning security defaults off.

  5. What is an emergency access account?

    An emergency access, or break-glass, account is a highly privileged cloud account kept for recovery when normal administrator accounts cannot sign in. Microsoft advises excluding these accounts from Conditional Access policies to prevent lockout from a misconfiguration. Store the credentials securely, restrict who can use them and test them periodically.

  6. What is report-only mode in Conditional Access?

    Report-only mode is a policy state that evaluates a policy during real sign-ins and records the result without enforcing it. Administrators can see whether users would have been blocked or prompted. Microsoft’s guidance is to run policies in report-only mode for at least a week before enforcing them.

  7. What does the What If tool do?

    The What If tool simulates a sign-in for a chosen user, app, device and location, and shows which policies would apply and why a policy does or does not apply. It does not capture every real-world dependency, so use it together with sign-in logs and a pilot group.

  8. Should I block legacy authentication?

    In most tenants, yes. Legacy authentication protocols cannot perform MFA, and Microsoft’s analysis says more than 99 percent of password spray attacks use them. Before you block, check the sign-in logs for older mail clients, scanners and scripts that still use them, so you can fix or replace those first.

  9. Do Conditional Access policies apply to service accounts?

    Policies scoped to users do not block service principals. Microsoft recommends Conditional Access for workload identities for those, and replacing scripted service accounts with managed identities where possible. Treat any shared account that signs in interactively as a user and cover it with your normal policies.

  10. How many Conditional Access policies can a tenant have?

    Microsoft’s planning guidance currently states a limit of 240 policies per tenant, counting policies in any state, including report-only and off. Older copies of that page gave a lower number, so confirm the current figure. Fewer, well-named policies are easier to reason about than hundreds of small ones.

  11. How do I recover if a policy locks out every administrator?

    Sign in with an emergency access account that is excluded from the policy, find the policy in the Conditional Access list and disable it or fix its assignments. Review the sign-in logs to learn what went wrong, then test the corrected policy in report-only mode before turning it back on.

  12. Can you help us review our Conditional Access setup?

    Yes. We can review your current policies, exclusions, licensing and sign-in logs, and tell you what we would change before it causes a lockout. We can also help plan MFA registration, device enrollment and a phased rollout. We do not quote prices in this guide, because they depend on your tenant and licensing.

Microsoft Solutions Partner · Migration Specialists

Want an expert to review your Conditional Access setup?

Get a review of your policies, exclusions, licensing and sign-in logs. We will show you what could lock people out, what is missing and how we would roll out changes safely.

Microsoft Solutions PartnerCertified Microsoft engineers24/7 phone, chat & email support

    Submit Your Requirement


     


    About the Author
    office 365 Author

    O365CloudExperts Editorial Team

    The O365CloudExperts by Apps4Rent editorial team produces in-depth Microsoft 365 migration guides in collaboration with Apps4Rent's in-house Microsoft Certified engineers. We have successfully migrated 10,000+ organizations across 90+ countries from Google Workspace, Exchange, GoDaddy, Rackspace, Lotus Notes, Zimbra, and IMAP, with zero downtime and zero data loss.

    Microsoft Solutions Partner

    Tier 1 Direct CSP

    O365CloudExperts Editorial Team on x O365CloudExperts Editorial Team on facebook O365CloudExperts Editorial Team on linked in

    Comments are closed.