Ensuring devices meet organizational security and compliance policies
Intune considers a device compliant or noncompliant based on:
- Tenant-wide Compliance policy settings
- Mark devices with no compliance policy assigned as:
- Compliant (default): Devices without any assigned device compliance policy are treated as compliant.
- Not compliant: Devices without any assigned device compliance policy are treated as noncompliant. This is recommended when using Conditional Access so only confirmed-compliant devices can access resources.
- Compliance status validity period (days):
- If a device does not successfully report on all assigned compliance policies within this period (1–120 days, default 30), it is treated as noncompliant.
- Mark devices with no compliance policy assigned as:
- Device compliance policies assigned to the user/device
- These are platform-specific rule sets (for example, Windows, iOS, Android) that define what “compliant” means. Examples of rules:
- Minimum OS version
- Not jail-broken/rooted
- Threat level from integrated threat management software
- Windows-specific items like OS build ranges or Configuration Manager compliance
- If the device meets all rules in all assigned compliance policies, its status is Compliant.
- If it fails any rule, the policy’s actions for noncompliance are applied and the device becomes Noncompliant. Conditional Access can then block access based on that status.
- These are platform-specific rule sets (for example, Windows, iOS, Android) that define what “compliant” means. Examples of rules:
- Evaluation behavior
- Devices are evaluated when they check in with Intune. Newly enrolled devices can show Unknown until evaluated.
- Devices actively syncing cannot move from Compliant/Noncompliant back to Unknown.
- NAC integration
- A NAC solution queries Intune for the device’s compliance state and managed by Intune status and then allows or blocks network access accordingly.
To make a currently compliant device noncompliant for testing NAC:
- Use compliance policy rules
- Edit an existing device compliance policy (or create a test policy) and configure a rule that the test device will intentionally fail. Examples based on the available concepts:
- Set a minimum OS version or OS build range that is higher than the device’s current version so the device falls outside the compliant range.
- For co-managed Windows devices, set Require device compliance from Configuration Manager and ensure the Configuration Manager compliance baseline is not met.
- Assign this policy to the user or device group that contains the test device.
- After the device checks in, it will evaluate the policy, fail the rule, and become Noncompliant. NAC should then see the noncompliant state and block network access according to its configuration.
- Edit an existing device compliance policy (or create a test policy) and configure a rule that the test device will intentionally fail. Examples based on the available concepts:
- Use the compliance status validity period
- Reduce Compliance status validity period (days) to a very small value (for example, 1 day) for testing.
- Stop the test device from checking in with Intune until the period expires.
- After the validity period passes without a successful compliance report, Intune will treat the device as Noncompliant.
For production, ensure that:
- Every device has at least one appropriate device compliance policy assigned.
- Mark devices with no compliance policy assigned as is set to Not compliant when using Conditional Access and NAC, so only devices that actually meet defined rules are allowed.
References: