Lab 18: Conditional Access Pilot

Created a report-only Conditional Access pilot that used Intune compliance as an access signal, targeted Microsoft cloud resources for the Windows pilot group and validated the expected results for compliant and unmanaged devices.

Overview

Lab 17 established a Windows compliance policy for the Intune pilot devices. This lab used that compliance result in Microsoft Entra Conditional Access so the pilot could evaluate compliant-device access decisions before any live enforcement was applied.

The policy remained in Report-only mode throughout the lab. This allowed the access impact to be validated safely in Entra sign-in logs without blocking pilot users or risking an administrator lockout.

Objective

The objective was to create and validate CA001 - Require compliant device for pilot users, a pilot Conditional Access policy that applies to GRP_Intune_Pilot, targets all Microsoft cloud resources, applies to Windows device platforms, and requires the device to be marked as compliant.

Environment

Environment
ComponentValue
CompanyNietz Ltd
Microsoft 365 / Entra domainnietz.co.uk
On-premises AD domaincorp.nietz.co.uk
Conditional Access policyCA001 - Require compliant device for pilot users
Policy stateReport-only
Pilot groupGRP_Intune_Pilot
Pilot userChloe Bennett - [email protected]
Compliant test deviceCL2 - Microsoft Entra joined and Intune compliant
Unmanaged test deviceWindows home PC browser session
Target resourcesAll resources, formerly All cloud apps
Device platform scopeWindows
Grant controlRequire device to be marked as compliant
Previous lab dependencyLab 17: Device Compliance Policy Pilot

Configuration

1. Conditional Access Starting Point

I confirmed the Conditional Access policies area before adding the new pilot policy. This provided a clean baseline for the user-created Conditional Access policy introduced in this lab.

Conditional Access policies page before CA001 was created
Figure 1Conditional Access policies page before the new pilot policy was created.
Context: Capturing the starting point made the later policy creation evidence clear and avoided confusing the new pilot policy with pre-existing rules.

2. Pilot Policy Summary

I created CA001 - Require compliant device for pilot users and assigned it to GRP_Intune_Pilot. The policy targeted all Microsoft cloud resources and stayed in Report-only mode for controlled evaluation.

CA001 policy summary showing pilot group, all resources and report-only state
Figure 2CA001 configured for the Intune pilot group, all resources, one condition, one grant control and Report-only state.
Context: Report-only mode allowed the policy impact to be measured through sign-in logs before enforcement was enabled.

3. Windows Platform Scope

I scoped the device platform condition to Windows only. This matched the current pilot estate, where both the compliant CL2 device and the unmanaged test device were Windows devices.

Device platforms condition configured for Windows only
Figure 3Device platform condition configured for Windows pilot sign-ins.
Context: Platform scoping kept the pilot aligned to the Windows endpoint rollout and avoided mixing mobile or non-Windows access controls into this lab.

4. Compliant Device Grant Control

I configured the grant control to require the device to be marked as compliant. I did not combine this with MFA, hybrid join, approved client app, app protection, or risk controls in this pilot lab.

Grant control requiring device to be marked as compliant
Figure 4Grant control configured to require an Intune-compliant device.
Context: Using one grant control made the test result clear: access would depend on whether the device had a compliant state from Intune.

5. Report-only Policy Creation

I created the CA001 policy and confirmed it appeared in the Conditional Access policy list with a Report-only state.

CA001 policy listed as report-only
Figure 5CA001 created as a user-managed Conditional Access policy in Report-only mode.
Context: The policy was deliberately not enabled for enforcement. The lab validated expected impact without blocking access.

Validation

1. Compliant Device Sign-in

I signed in as Chloe Bennett from CL2, the cloud-native Microsoft Entra joined and Intune-compliant Windows pilot device.

Chloe Bennett signed in to My Apps from CL2
Figure 6Chloe Bennett signed in to the My Apps portal from the compliant CL2 device.
Context: This generated a real Chloe Bennett sign-in event that could be evaluated against the Report-only Conditional Access policy.

2. Compliant Device Report-only Success

I reviewed the Chloe Bennett sign-in event in Microsoft Entra sign-in logs and confirmed that CA001 evaluated successfully for the compliant CL2 device. The grant controls were satisfied.

Report-only success for Chloe Bennett sign-in from CL2
Figure 7Report-only result showing CA001 success and satisfied grant controls for the compliant CL2 sign-in.
Context: The successful Report-only result proved that the Lab 17 compliance policy produced a usable access signal for Conditional Access.

3. Unmanaged Device Report-only Failure

I reviewed a Chloe Bennett sign-in from an unmanaged Windows home PC browser session and confirmed that CA001 would have failed access if the policy had been enforced. The device appeared as unknown and the compliant-device grant control was not satisfied.

Report-only failure for Chloe Bennett sign-in from unmanaged home PC
Figure 8Report-only result showing CA001 failure for the unmanaged Windows sign-in because the grant controls were not satisfied.
Context: This confirmed the intended policy behaviour: managed and compliant Windows devices would satisfy the policy, while unmanaged Windows browser sessions would not.

Key Technical Outcomes

This lab demonstrated how Microsoft Entra Conditional Access can use Intune compliance as an access control signal. I configured a pilot policy, scoped it to a controlled group, limited it to Windows devices, used a compliant-device grant control, and validated the expected access impact through Report-only sign-in log evidence.

Summary

  • I created CA001 - Require compliant device for pilot users.
  • I assigned the policy to GRP_Intune_Pilot.
  • I targeted all Microsoft cloud resources and scoped the pilot to Windows device platforms.
  • I configured the grant control to require the device to be marked as compliant.
  • I kept the policy in Report-only mode to avoid enforcement risk.
  • I validated that Chloe Bennett on compliant device CL2 satisfied the policy.
  • I validated that an unmanaged Windows home PC sign-in would fail the compliant-device requirement if enforcement was enabled.