I was setting up a new tenant and micsonfigured one of the conditional access policies and am now locked out due to a nonregistered device.

Brian Hughes 0 Reputation points
2026-03-14T19:16:54.1+00:00

There are no registered devices yet with this tenant as this has not been set up yet but I accidentally set a conditional access policy to require registered devices.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-03-14T19:17:04.84+00:00

    Because the Conditional Access policy now requires a registered or compliant device and none exist yet, the tenant admin accounts are effectively locked out by policy misconfiguration.

    To recover access:

    1. Check for another admin who isn’t blocked
      If there is any other administrator account that is not affected (for example, excluded from the policy or using a different sign-in path), that admin can:
      • Sign in to the Microsoft Entra admin center.
      • Go to Entra ID > Conditional Access > Policies.
      • Locate the misconfigured policy and either:
        • Set Enable policy to Report-only, or
        • Edit Assignments to exclude at least one admin account (for example, a break-glass account), or
        • Temporarily disable or delete the policy.
    2. If all admins are locked out
      If no administrator in the organization can sign in to update Conditional Access policies, the only supported option is to contact Microsoft support so they can adjust the policy:
      • Follow the guidance to submit a support request.
      • Microsoft support will review the situation and, after confirming ownership, update the Conditional Access policies that are preventing access.
    3. Prevent this in the future
      When creating Conditional Access policies that affect all users, always:
      • Exclude at least one emergency access / break-glass account from the policy so it can be used to recover from lockouts.
      • Initially set new policies to Report-only mode, verify impact, and only then switch them to On.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.