The safest way to change Microsoft Entra Conditional Access is to simulate the policy with the What If tool, run it in report-only mode against real sign-ins, read the results, and only then switch it on. Most Conditional Access lockouts are not caused by a bad idea; they are caused by a good policy that nobody tested against the accounts, apps and devices it actually touches. This guide answers the practical questions teams ask before enforcement: what each testing tool can and cannot see, how long to leave a policy in report-only mode, how to read each result value, and what to check for service accounts, workload identities and emergency access accounts before the switch is flipped.
It is a how-to companion to the broader Conditional Access Guide, which covers policy design. Here the focus is narrower: proving that a policy does what you think before it can block anyone.
This is an independent guide from NHI Mgmt Group, based on Microsoft Entra's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft Entra's current documentation.
Key takeaways
- Two tools, two questions. What If answers "which policies would apply to this one sign-in?" Report-only answers "what would this policy have done to every real sign-in over the last few weeks?" You need both.
- What If only sees what you type. The current What If evaluation only matches a policy once every condition the policy uses has an input, and it does not test service dependencies between apps.
- Report-only is evaluated, not enforced. Users are not prompted or blocked, but results are written to the sign-in log for every sign-in the policy would have touched.
- "User action required" is not success. It means the user would have been prompted, for example for MFA. It tells you about friction, not about whether the user could pass.
- Some policies cannot be tested this way. Policies scoped to user actions cannot be evaluated in report-only mode, and report-only device compliance checks can still prompt users on macOS, iOS and Android.
- Non-human sign-ins need their own pass. Service accounts, service principals and agent identities are where untested policies cause silent outages, so test them explicitly.
Why testing Conditional Access before enforcement matters
Conditional Access policies are evaluated on every sign-in, and several policies can apply to the same sign-in at once. A block from any one policy wins. That makes the policy set behave like a firewall rule base: a new rule that looks harmless on its own can combine with an existing rule to produce a result nobody intended.
The common outcomes of untested changes are familiar to most identity teams:
- Administrators locked out of the admin portals because a new device or location rule had no exclusion for the emergency access accounts.
- Scripts and integrations running under user accounts failing overnight because a new MFA requirement cannot be satisfied without a person present.
- Mobile users stuck in repeated certificate prompts after a compliant device requirement went live.
- Help desk queues filling with sign-in errors after a policy targeted "All resources" instead of a specific app.
The Conditional Access Block Troubleshooting Guide (AADSTS53003) covers how to diagnose and fix these after they happen. This page is about not getting there.
What the What If tool does and does not tell you
The What If tool lives in the Microsoft Entra admin center under Entra ID, Conditional Access, Policies, What If. According to Microsoft's What If documentation, it simulates how Conditional Access policies affect a sign-in for a user, an agent identity (in preview) or a single tenant service principal, and it is powered by a public Microsoft Graph What If evaluation API.
Inputs
The required inputs are the identity, the target resource, the device platform and the client app. Everything else is optional and defaults to none, including location and sign-in risk. The target resource can be cloud apps, a user action, or sensitive data protected by an authentication context.
Two input details catch people out:
- Use the App ID for applications. Microsoft notes that groups of apps, such as "Office 365" or "Microsoft Admin Portals", do not produce a match when used as a What If input.
- Supply every condition the policy uses. The current API only matches a policy once every condition's input is supplied. Microsoft's own example is a policy targeting all users, Office 365, a United States location and high sign-in risk: with only the user, app and location supplied the policy does not apply, and it only applies once sign-in risk is also set to high. The legacy evaluation reported it as applying with fewer inputs, so older runbooks and screenshots may show different results.
Outputs
The tool returns the policies that apply, with the grant and session controls that must be satisfied, and the policies that do not apply, each with the first condition that was not satisfied. It also shows whether classic policies exist in the tenant and whether a policy uses app filters with custom security attributes.
Limits
- Only policies that are enabled or in report-only mode are evaluated. A policy that is switched off is invisible to What If.
- It does not test Conditional Access service dependencies. Microsoft's example is that a Teams test ignores policies on Exchange Online, even though Teams relies on Exchange Online in practice.
- It is a single, hypothetical sign-in. It says nothing about how many real users, devices or workloads match the same conditions.
Use What If for design checks and targeted questions: "does my break-glass account escape this block?", "does the new admin portal policy catch this role holder on an unmanaged Windows device?", "which policy is the first to apply to this service principal?"
How report-only mode works
Report-only is a policy state alongside On and Off. Microsoft's report-only documentation says that during sign-in the policy is evaluated but not enforced: users are not prompted for MFA or other controls, and they are not blocked. The evaluation result is recorded so you can see what would have happened.
Reading the result values
| Result | What it means | What to do with it |
|---|---|---|
| Report-only: Success | All conditions and the required grant and session controls were satisfied. | Expected for compliant users. Sample a few to confirm the right controls were met. |
| Report-only: Failure | Conditions were met, but a non-interactive grant or session control was not, such as a block control or a failed compliant device check. | Every failure is a future block. Explain each one or fix the policy before enforcement. |
| Report-only: User action required | Conditions were met, but satisfying the controls would need user action, such as an MFA prompt or terms of use. The user was not prompted. | Check whether these users have a registered method that meets the control. Non-human accounts here are a red flag. |
| Report-only: Not applied | Not all conditions were met, for example the user was excluded or a trusted named location applied. | Review whether the exclusions are the ones you intended. |
The same page notes that "User action required" occurs with interactive grant controls such as MFA, because report-only policies do not enforce them, so success or failure cannot be determined. Treat this bucket as unknown, not as passed.
Known caveats
- User actions scope. Policies that use the User Actions scope, such as registering security information, cannot be evaluated in report-only mode. Test them with What If and a pilot group instead.
- Device compliance prompts. Microsoft warns that report-only policies requiring a compliant device can prompt users on macOS, iOS and Android to select a device certificate, even though compliance is not enforced, and the prompts can repeat until the device is compliant. Its advice is to exclude those platforms from report-only policies that perform device compliance checks.
- Combined effect. You can run several report-only policies at once, so check their combined effect as well as each policy on its own.
Where to read report-only results
Microsoft documents three places to see the outcome, from the most detailed to the most aggregated.
Sign-in log details
Each sign-in in the Microsoft Entra sign-in logs has a Conditional Access tab and a Report-only tab. This is where you confirm exactly which conditions matched for one event and is the right place to investigate any failure.
Policy impact view
The policy impact view (in preview at the time of writing) gives a snapshot of potential or existing impact on interactive sign-ins over the past 24 hours, 7 days or 1 month, with links to sample sign-in events. It requires at least the Security Reader role. Note that it covers interactive sign-ins, so use the sign-in logs or the workbook to check non-interactive and service principal traffic.
Conditional Access insights and reporting workbook
The insights and reporting workbook shows impact over time for one policy or a set of policies. Its prerequisites are a Log Analytics workspace receiving sign-in logs, Microsoft Entra ID P1, at least Security Reader in Microsoft Entra ID and Log Analytics workspace Contributor on the workspace. Sign-ins from before the log integration was set up do not appear, so connect logs well before you need the data.
Useful workbook details:
- The time range runs from 4 hours to 90 days, and you can filter by user and app.
- You can count by users or by sign-ins. In the user view one user can appear in both Success and Failure.
- Results break down by device state, device platform, client app, location, application and sign-in risk, which is the fastest way to find the population a policy will hurt.
- To include report-only result data in an export, download logs in JSON format.
- If the workbook is slow or times out, Microsoft suggests shortening the time range or adding a data collection rule transformation on the sign-in table, noting that transformations only apply to newly ingested logs.
A step-by-step test plan for a new policy
The sequence below is an NHI Mgmt Group recommendation that combines Microsoft's documented tools into a repeatable change process.
- Write down the intent. One sentence: who, which resource, which condition, which control. For example, "All members of admin roles must use phishing-resistant MFA to reach the Microsoft admin portals from any location." If you cannot write it in one sentence the policy is probably two policies.
- Create the policy in report-only. Never create a new blocking or grant policy directly in the On state. Include your emergency access group as an exclusion from the start for any policy that blocks or restricts sign-in.
- Run What If for the edge cases. Test at least: an emergency access account, a standard user, an administrator on an unmanaged device, a guest, one service principal or agent identity in scope, and any user account known to run scripts. Supply every condition the policy uses, and use the App ID for each target app.
- Leave it to collect data. Cover at least one full business cycle: month-end jobs, weekly batch processes, travel and on-call rotations. NHI Mgmt Group suggests a minimum of two weeks for broad policies and a full month where finance or payroll jobs run monthly.
- Review every failure. Group report-only failures by app, client app and identity. Each group should end up as one of three things: an intended block, a fix to the policy scope, or a remediation task (for example, enrolling a device or registering a method).
- Review "user action required". For each user in this bucket, check that a method that satisfies the control is registered. For any account that is not a person, this result means a future outage.
- Check the combined set. Filter the workbook to all enabled policies plus the new one, so you see the effect of the new policy on top of what is already enforced.
- Pilot, then enforce. Switch the policy On for a small pilot group first, then widen scope in stages. Record the rollback step (set the policy back to report-only) and who is authorised to take it.
- Watch after the switch. Keep the workbook filtered to this policy for the first days of enforcement and alert on a sudden rise in failures.
Testing non-human identities and service accounts
Untested Conditional Access changes hurt non-human identities most, because there is nobody present to complete a prompt and failures often surface hours later as a broken integration.
User accounts used by workloads
Many tenants still have user accounts that run scripts, connectors or scheduled tasks. Report-only results for these accounts are the clearest early warning you will get. Look for them in the "Report-only: Failure" and "Report-only: User action required" buckets, and for each one decide whether it should become a workload identity, be scoped out with a documented and time-limited exclusion, or meet the control another way. The How to Find Accounts Excluded From MFA and Conditional Access guide covers how to inventory these accounts and their exclusions.
Service principals and agent identities
The What If tool supports single tenant service principals and, in preview, agent identities. Use it whenever a policy targets workload identities, and confirm which policies apply before the policy is enforced. Conditional Access policies for workload identities are a separate design topic, covered in the Conditional Access for Workload Identities.
Emergency access accounts
Microsoft's emergency access guidance recommends at least two cloud-only emergency access accounts, excluded from any Conditional Access policy that blocks or restricts sign-in, using a dedicated group for the exclusion. It notes that report-only policies do not block access and do not need the exclusion. It also recommends testing sign-in against your current Conditional Access configuration at least quarterly and validating the accounts at least every 90 days. Run a What If check for each emergency access account as part of every policy change, not only at the quarterly test. The Break-Glass Account Guide covers the wider design.
Change control questions to ask before you switch a policy on
- Has the policy run in report-only for at least one full business cycle, and is the time range in the review covering it?
- Is every "Report-only: Failure" either an intended block or a tracked remediation?
- Are any non-human accounts in "User action required", and what is the plan for each?
- Have What If checks been run for every emergency access account, with every condition supplied?
- Does the policy depend on a service the What If tool does not test, such as Exchange Online behind Teams?
- Are macOS, iOS and Android excluded from any report-only device compliance policy, and is there a separate plan to test those platforms?
- Is the policy scoped to User Actions, and therefore tested only through What If and a pilot group?
- Who can set the policy back to report-only, and how quickly can they do it?
Common failure patterns
- Testing with partial inputs. Running What If with only a user and an app, then concluding a location or risk policy does not apply. The current evaluation needs every condition supplied.
- Using app groups as What If inputs. Selecting a group such as "Office 365" and getting no match. Use individual App IDs.
- Reading "user action required" as a pass. It only means a prompt would have been shown, not that the user could satisfy it.
- Too short a report-only window. Two days of data misses month-end jobs, travel and on-call staff.
- Ignoring non-interactive sign-ins. Relying only on the policy impact view, which covers interactive sign-ins, and missing service principal and token refresh traffic.
- Report-only compliance prompts on mobile. Leaving macOS, iOS and Android in scope of a report-only compliant device policy and generating certificate prompts for users.
- No log retention before testing. Connecting sign-in logs to Log Analytics on the day of review, then finding no historical data.
- Testing in isolation. Checking a new policy on its own and missing how it combines with existing enabled policies.
- Turning policies off instead of report-only. A switched-off policy is not evaluated by What If and records nothing, so you lose the evidence you need to re-enable it.
Practitioner checklist
- Stream Microsoft Entra sign-in logs to a Log Analytics workspace before you need test data.
- Create every new blocking or grant policy in report-only first.
- Exclude the emergency access group from any policy that blocks or restricts sign-in.
- Run What If for emergency access accounts, an admin, a guest, a scripted user account and an in-scope service principal, supplying every condition.
- Use individual App IDs, not app groups, as What If inputs.
- Exclude macOS, iOS and Android from report-only device compliance policies and test them separately.
- Keep the policy in report-only for at least one full business cycle.
- Resolve or accept every "Report-only: Failure" and every non-human account in "User action required".
- Review the combined effect with all enabled policies selected in the workbook.
- Enforce in stages through a pilot group, with a named owner for rollback to report-only.
- Monitor failures closely for the first days after enforcement.
Standards and references
- Microsoft Learn: Conditional Access What If tool
- Microsoft Learn: Conditional Access report-only mode
- Microsoft Learn: Conditional Access insights and reporting workbook
- Microsoft Learn: Manage emergency access accounts in Microsoft Entra ID
- NIST: SP 800-53 Rev. 5, in particular CM-3 Configuration Change Control and AC-2 Account Management
- NIST: SP 800-207 Zero Trust Architecture
- MITRE ATT&CK: T1078 Valid Accounts
Related NHI Mgmt Group resources: Conditional Access Guide · Conditional Access Block Troubleshooting Guide (AADSTS53003) · How to Find Accounts Excluded From MFA and Conditional Access · Break-Glass Account Guide