Device compliance and Conditional Access
How Intune decides a device is healthy, and how Entra ID uses that to let it in or keep it out.
A compliance policy is a list of rules a device must meet: for example BitLocker on, OS at least a given version, a PIN set, Defender for Endpoint risk no higher than low. Intune checks each enrolled device and marks it compliant or not compliant.
Conditional Access in Entra ID then decides what happens at sign-in. A policy such as "for Exchange Online and SharePoint, require a compliant device" lets the healthy laptop in and blocks the one with BitLocker off, with a message telling the user how to fix it.
Together they're a core part of Zero Trust: access depends on who you are and on the state of the device you're using, checked at every sign-in.
Cost. Compliance policies come with Intune. Using compliance in sign-in rules needs Conditional Access, which is in Entra ID P1 (included in Microsoft 365 Business Premium, E3 and E5).
Use it when
- only managed, healthy devices may open company email, files or finance apps.
- you want unhealthy devices to be blocked automatically until they're fixed, with a grace period.
- auditors ask you to show that every device with access to customer data is encrypted.
How it works
- Write the rules
- Create a compliance policy per platform (Windows, iOS, Android, macOS) and assign it to a group of users or devices.
- Actions for non-compliance
- Mark non-compliant straight away or after a grace period, email the user, and optionally retire the device after a long time.
- Default setting
- Decide whether devices with no compliance policy assigned count as compliant or not. Secure tenants choose not compliant.
- Conditional Access
- In Entra ID, create a policy: users and apps in scope, grant control "Require device to be marked as compliant" (or "compliant or hybrid joined"). Start in report-only mode.
- Troubleshoot
- The device's compliance page in Intune shows which rule failed; the user's sign-in log shows which Conditional Access policy blocked them and why.
Options
- Company laptops
- Require compliant device for all cloud apps.
- Personal phones
- Require an approved app with an app protection policy instead of compliance.
- Admins
- Require compliant device and phishing-resistant MFA.
Example. Ironbridge Payments requires a compliant device for its card-processing portal. A developer's laptop falls behind on Windows updates and becomes not compliant after a 3-day grace period. The next morning the portal blocks them with "your device doesn't meet your organisation's requirements"; they run Windows Update, Intune re-checks, and access returns within the hour.
Don't confuse it with
- Configuration profile
- Changes a setting on the device. A compliance policy only checks it and reports.
- Azure Policy compliance
- Checks Azure resources against rules. Intune compliance checks people's devices.
Words to know
- Compliance policy
- Rules a device must meet before it counts as healthy.
- Grace period
- How long a device may stay non-compliant before it's treated as such.
- Report-only mode
- A Conditional Access setting that logs what a policy would do without enforcing it.
- Zero Trust
- Never trust by default: verify identity and device health at every access.
Where to look
- Microsoft Intune admin center
- Devices
- Compliance
Practise it
Read it in the guide, next to the tasks and labs.
Open in Azure Portal, Hands On