You use the What If tool to simulate how a Conditional Access policy would apply to a particular user, app and sign-in context before you enforce it. Test the exact scenarios that matter, including locations, devices and client types, then compare the predicted result with your intended control. Use it to spot policy conflicts and gaps before rollout.
What the What If tool actually tests
The What If tool is most useful when you treat it as a policy simulation, not a substitute for rollout. It evaluates how a Conditional Access policy would behave for a specific identity, app, device state, location, and client context, so you can see the likely decision before users encounter it. That makes it a design and validation aid, especially when policy conditions are layered.
The value is in testing the exact sign-in shape you expect to see in production. If you only test a generic user, you can miss the interaction between compliant device requirements, named locations, client app restrictions, and authentication strengths. A correct simulation helps confirm whether the policy target, grant controls, and exclusions line up with the access pattern you intended.
For teams building a broader identity control stack, the simulation step fits naturally alongside hardening and zero trust planning. NHIMG’s Conditional Access Guide is useful when you want the tool explained in the context of policy design, report-only testing, and gap analysis, while the Zero Trust Identity Guide shows how to use identity-centric policy as part of a broader verification model.
How to run a useful test scenario
Start with the scenario, not the policy list. Pick one user or test account, one target application, and one real sign-in path that reflects how the service is actually used. Then vary the conditions that matter most, such as device compliance, browser versus desktop client, trusted versus untrusted network, and whether the session is interactive or non-interactive.
Use the What If result to compare expected and actual policy behavior. If the predicted result does not match the control you intended, the problem is often not the tool itself but the scenario definition, overlapping policies, or an exclusion that widens access more than you meant. This is where policy design issues become visible before they create user friction or access gaps.
It also helps to test common edge cases, not just the happy path. A policy that works for a managed laptop on a corporate network may behave very differently for a mobile browser, a legacy client, or a user outside a trusted location. Testing those cases upfront is how you find conflicts that would otherwise show up only after enforcement.
When the policy touches device state, the result is only as good as your trust signal. If your access decision depends on compliance or posture, the device data itself must be reliable, current, and consistently interpreted. NHIMG’s Device Trust and Posture Guide is the right companion when you need to think through posture-based access as part of the simulation.
Where What If helps most before rollout
What If is strongest as a pre-enforcement check for policy conflicts, gaps, and unintended access paths. It helps you see whether a new policy will actually block, require, or allow the sign-in you are trying to control, and whether an older policy or exclusion will override that expectation. That is especially important in environments where multiple Conditional Access policies interact.
It is also useful for validating whether the policy has enough coverage across user populations and client types. If you are protecting a sensitive app, you should test whether the policy behaves differently for admins, standard users, federated users, and service-like access paths where the sign-in context may not look like a normal human login. For identity-heavy environments, NHIMG’s Microsoft 365 Security Guide provides the broader hardening context around Entra sign-in controls, PIM, app consent, and audit logs.
Use the result to decide whether the policy is ready for report-only or enforcement. If the simulation shows a meaningful mismatch between your intent and the predicted access outcome, fix the policy design before turning it on. If the result is correct but the control is too broad, tighten the conditions or reduce exclusions before rollout so the policy does not quietly become weaker than intended.
Risk and Threat Considerations
Conditional Access mistakes are often not visible until they matter, because the failure mode is usually policy drift, excessive exclusions, or an incomplete test scenario rather than a loud outage. A policy that looks correct in one context can still leave a path open for legacy clients, unmanaged devices, or alternative sign-in routes.
Failure mechanism: The most common failure is assuming one What If test represents the whole policy. If you do not test the full range of devices, locations, and client types, you can misread a policy as restrictive when it still permits access through an untested path.
Impact: The result can be silent over-permission, blocked legitimate access, or a rollout that creates support churn without actually improving security. In the worst case, an attacker or unauthorized user finds the untested path after enforcement and uses it to bypass the intended control.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST Zero Trust (SP 800-207), NIST SP 800-53 Rev 5 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST Zero Trust (SP 800-207) | 3.1 — Identity as the Basis of Trust | Conditional Access simulation supports identity-centered access decisions. |
| Recommendation — Model access decisions around verified identity and device context before enforcement. | ||
| NIST SP 800-53 Rev 5 | AC-16 — Security and Privacy Attributes | What If validates attribute-driven access conditions like location, device and client type. |
| IA-2 — Identification and Authentication (Organizational Users) | The tool evaluates how sign-in context affects user authentication outcomes. | |
| Recommendation — Define and test the attributes that drive each Conditional Access decision. Verify authentication outcomes for the user contexts your policy must control. | ||
| ISO/IEC 27001:2022 | A.5.15 — Access control | Conditional Access is an access-control mechanism that must be validated before rollout. |
| Recommendation — Validate access rules before enabling them in production. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | The tool helps confirm least-privilege access decisions and exclusions. |
| Recommendation — Review policy exclusions and allowed paths against least-privilege intent. | ||
Practitioner Guidance
What to prioritise: Test the exact access path you are trying to govern, not just a representative user. The most useful scenarios are the ones most likely to break under real conditions, especially when the policy combines location, device, and client restrictions.
What to verify: Confirm that the simulated outcome matches the business rule you intended, then check whether any exclusion is broader than necessary. If the tool says access would be allowed when you expected a block, treat that as a design issue, not a cosmetic discrepancy.
Practitioner takeaway: Use What If to prove policy intent before enforcement, but trust it only when you have tested the sign-in patterns that can actually change the decision.
Related resources from NHI Mgmt Group
- How do you use groups for secure access control in Microsoft Entra ID?
- How do you require compliant devices with Conditional Access in Microsoft Entra ID?
- How do you block device code flow with Conditional Access in Microsoft Entra ID?
- How do you block risky sign-ins with Conditional Access in Microsoft Entra ID?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org