Objective
Measure how account authentication, target resource and device state affected policy evaluation in an isolated lab scope.
Architecture and configuration
- Test sign-in
- Authentication details and device state
- Conditional Access evaluation
- Report-only result
I scoped test policies to lab identities. I compared sign-ins from an unmanaged laptop and a compliant Windows VM. The documented device-trust test used an Edge work profile on the VM.
The lab runbooks record separate report-only policies for MFA, phishing-resistant MFA, a simulated block and a compliant-device grant. The simulated block produced the expected report-only failure after the policy target was widened to All resources within the test-user scope. That policy was later switched off.
I used the interactive sign-in event and compared the actual resource, authentication details, device attributes and per-policy result. The compliance capture in the device case study shows the prerequisite device state.
Tests and outcomes
| Test | Method | Observed result |
|---|---|---|
| Require MFA | Sign in using a method that satisfies the MFA grant. | The lab runbook records a successful evaluation after a compatible MFA sign-in. Lab record |
| Require phishing-resistant MFA | Compare an Authenticator passkey with ordinary push approval. | The passkey satisfied the requirement. The quick runbook records that ordinary push did not meet the stronger requirement. Lab record |
| Simulate a block | Test a sign-in after the resource targeting matches. | The runbook records Report-only failure. The simulation policy was later switched off. Lab record |
| Require a compliant device | Compare the unmanaged laptop and the Intune-compliant VM. | The runbook records Report-only failure on the laptop and Report-only success on the VM. The VM event showed Managed = Yes, Compliant = Yes and Join Type = Azure AD joined. Lab record |
Evidence
Captures unavailable
- Original sign-in captures for the unmanaged laptop and the compliant VM, including resource, Device info and the Report-only result.
- Original Authentication details and Report-only captures for MFA, passkey and the simulated block. The lab runbooks record these outcomes.
Lessons
I matched the policy to the resource in the sign-in event and inspected the reported device state for that event. The results describe simulated evaluation. Enforcement stayed outside the exercise.
Related case studies · Windows enrollment and device trust