Lab 17: Device Compliance Policy Pilot

Created a pilot Windows compliance policy in Microsoft Intune, required Windows 11 or later and validated that both hybrid-joined CL1 and cloud-native CL2 evaluated as compliant.

Overview

In this lab, I moved from device enrolment validation to compliance policy control. Labs 15 and 16 proved that Nietz Ltd could manage both a cloud-native Microsoft Entra joined device and a hybrid Microsoft Entra joined device through Intune. This lab added a dedicated Windows compliance policy so pilot devices were no longer relying only on the default device compliance policy state.

The policy was assigned to GRP_Intune_Pilot and configured with a minimum OS version of 10.0.22000.0. This requires Windows 11 or later for the pilot device estate while leaving stronger checks such as BitLocker, Secure Boot, Defender Antivirus, firewall and attack surface reduction for later endpoint hardening labs.

Objective

The objective was to create a controlled Windows compliance policy for Intune-managed pilot devices, assign it to the existing Intune pilot group, and validate that both CL1 and CL2 reported compliant against the custom policy.

Environment

Environment
ComponentValue
CompanyNietz Ltd
Microsoft 365 / Entra domainnietz.co.uk
Management platformMicrosoft Intune
Compliance policy nameCP_Windows_Pilot_Minimum_Baseline
Policy platformWindows 10 and later
Policy profile typeWindows 10/11 compliance policy
Minimum OS version10.0.22000.0
Assignment groupGRP_Intune_Pilot
CL1 assigned userEmily Wilson - [email protected]
CL1 join typeMicrosoft Entra hybrid joined
CL2 assigned userChloe Bennett - [email protected]
CL2 join typeMicrosoft Entra joined
Previous lab dependencyLab 16: Hybrid Entra Join and Intune Enrolment
Next lab dependencyLab 18: Conditional Access Admin MFA Baseline

Configuration

1. CL1 Compliance Policy Gap Identified

I reviewed the default device compliance policy detail page for CL1 and confirmed that the device was active and enrolled, but did not yet have a custom compliance policy assigned.

Intune CL1 default device compliance policy showing Has a compliance policy assigned error 65001 not applicable
Figure 1CL1 showing no custom compliance policy assigned before the pilot policy was created.
Context: The default compliance policy confirmed that CL1 was enrolled and active, but also identified the follow-up requirement to assign a real Windows compliance policy.

2. Windows Compliance Policy Basics Configured

I created a new Windows 10/11 compliance policy and named it CP_Windows_Pilot_Minimum_Baseline.

Intune compliance policy basics page showing CP_Windows_Pilot_Minimum_Baseline name, description, Windows 10 and later platform and Windows 10/11 compliance policy profile type
Figure 2New Windows compliance policy basics configured.
Context: The description records that this is a pilot minimum baseline. Stronger endpoint security checks are deliberately separated into later hardening labs.

3. Windows 11 Minimum OS Requirement Configured

In the Device Properties section, I set the minimum OS version to 10.0.22000.0 and left the other compliance checks unconfigured.

Intune compliance settings page showing minimum OS version set to 10.0.22000.0 and other OS fields not configured
Figure 3Minimum OS version set to Windows 11 or later.
Context: Windows 11 starts at build 10.0.22000.0, so this setting allows current Windows 11 pilot devices to pass while allowing a Windows 10 test device to be identified as noncompliant in a later validation lab.

4. Compliance Policy Assigned to the Intune Pilot Group

I assigned the compliance policy to GRP_Intune_Pilot, the same controlled pilot group used for the Intune enrolment rollout.

Intune assignments page showing GRP_Intune_Pilot included as an active group with three user members and no excluded groups
Figure 4Compliance policy assigned to GRP_Intune_Pilot.
Context: This is a user group assignment. The policy applies to the Intune-enrolled Windows devices used by the pilot users.

5. Compliance Policy Reviewed Before Creation

I reviewed the final configuration before creating the policy, confirming the policy name, platform, minimum OS version, noncompliance action and included group.

Intune review and create page showing compliance policy name, minimum OS version 10.0.22000.0, mark device noncompliant immediately and GRP_Intune_Pilot assignment
Figure 5Review and create page confirming the Windows pilot compliance policy settings.
Context: The default noncompliance action was kept as marking the device noncompliant immediately. User notification workflows are handled separately in a later compliance lab.

6. CL1 Compliance Evaluation Confirmed

After the policy was created and CL1 checked in, I opened the CL1 device compliance page and confirmed that the custom policy evaluated successfully.

Intune CL1 device compliance page showing CP_Windows_Pilot_Minimum_Baseline minimum OS version state compliant
Figure 6CL1 compliant against the custom pilot compliance policy.
Context: CL1 is the hybrid Microsoft Entra joined device from Lab 16. This validates that the custom compliance policy applied successfully to the hybrid endpoint.

7. CL2 Compliance Evaluation Confirmed

I repeated the validation on CL2 and confirmed that the same custom policy also evaluated successfully on the cloud-native Entra joined device.

Intune CL2 device compliance page showing CP_Windows_Pilot_Minimum_Baseline minimum OS version state compliant
Figure 7CL2 compliant against the custom pilot compliance policy.
Context: CL2 is the cloud-native Microsoft Entra joined device from Lab 15. This proves the same compliance baseline works across both cloud-native and hybrid joined pilot endpoints.

8. Pilot Windows Devices Confirmed Compliant in Intune

I reviewed the Intune all devices view and confirmed that both pilot Windows devices were Intune managed, corporate owned and compliant, with the expected primary users and join types.

Intune all devices view showing CL1 and CL2 managed by Intune, corporate owned, compliant, Windows OS, primary user UPNs and join types
Figure 8CL1 and CL2 shown as compliant Intune-managed corporate Windows devices.
Context: This final overview confirms that both endpoint paths are now covered by the pilot compliance baseline: CL1 as Microsoft Entra hybrid joined and CL2 as Microsoft Entra joined.

Validation

The lab was validated when CL1 initially showed that no custom compliance policy was assigned, CP_Windows_Pilot_Minimum_Baseline was created with a minimum OS version of 10.0.22000.0, the policy was assigned to GRP_Intune_Pilot, and both CL1 and CL2 reported the custom policy setting as compliant.

The final Intune device view confirmed that CL1 and CL2 were both managed by Intune, corporate owned, compliant and associated with their expected primary users and join types.

Key Technical Outcomes

This lab demonstrated custom Intune compliance policy creation, Windows minimum OS enforcement, pilot group assignment, user-targeted compliance policy rollout, and compliance validation for both hybrid joined and cloud-native Microsoft Entra joined endpoints.

The final result is a clean compliance baseline that can be reused by later Conditional Access labs without mixing compliance policy creation, endpoint hardening and access enforcement into the same change.

Summary

  • I identified that CL1 did not yet have a custom compliance policy assigned.
  • I created CP_Windows_Pilot_Minimum_Baseline as a Windows 10/11 compliance policy.
  • I configured a minimum OS version of 10.0.22000.0 to require Windows 11 or later.
  • I assigned the policy to GRP_Intune_Pilot.
  • I confirmed CL1 was compliant against the custom policy.
  • I confirmed CL2 was compliant against the custom policy.
  • I confirmed both pilot devices were compliant, corporate owned and Intune managed in the device overview.