Entra ID Conditional Access Device Compliance Lockout

Farid Omar 0 Reputation points
2026-09-01T02:54:16.1233333+00:00

Hi all,

A new Conditional Access policy requiring compliant devices is locking out IT admins using non-domain-joined jump boxes.

How can we use break-glass accounts and PowerShell to exclude emergency access accounts from Conditional Access?

Tysm, Farid

Windows for business | Windows 365 Business
0 comments No comments

1 answer

Sort by: Most helpful
  1. Chen Tran 12,765 Reputation points Independent Advisor
    2026-09-01T03:52:58.06+00:00

    Hello Farid,

    Thank you for posting question on Microsoft Windows Forum!

    Well! It is recommended that emergency access / break-glass accounts be excluded from Conditional Access policies that could otherwise prevent sign-in, including policies requiring a compliant device. This is specifically intended to prevent a tenant-wide lockout when administrators are using an unmanaged/non-domain-joined jump box. The best practice is to have at least two break-glass accounts, monitored and protected, but excluded from CA enforcement.

    Based on this scenario. You can try this by going to Azure AD portal → Security → Conditional Access → Policies. Edit the policy requiring compliant devices. Under Assignments → Users and groups: Include All users. Under Exclude, select your break-glass accounts. This will ensure those accounts are not blocked by the compliant-device requirement.

    Please note: if a break-glass account itself is subject to requirements such as MFA, device compliance, or another access control, it may become unusable when it is actually needed.

    You can refer to the following articles for further reference.

    Hope the above information is helpful!

    Was this answer helpful?

    0 comments No comments

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.