The knowledge base
Intune Compliance and Conditional Access, Explained
How Intune compliance and Entra Conditional Access work together: compliance policies, statuses and actions, grant and session controls, safe rollout.
Intune/Explainer·Reading time: 11 MIN·Video length: 38 MIN
Also available in: Español · Português
This is Alex’s laptop, HTM-WIN-0042. It hasn’t installed an update in months, the disk isn’t encrypted and the firewall is off. Alex opens Outlook, and the mail loads. No warning, no block, even though the laptop is enrolled in Intune.
Enrolling a device doesn’t stop this on its own. Two features do, and each answers a different question. Device compliance asks: is this device healthy? Conditional Access asks: should it get in, right now?
Two jobs: Intune checks, Entra decides
Think of an airport. Intune is passport control: a compliance policy is a set of rules (“the disk must be encrypted”, “the OS must be at least this version”), and Intune marks the device compliant or not compliant. Enrolled devices are registered in Microsoft Entra ID, and their compliance status is reported there.
Microsoft Entra Conditional Access is the gate in front of each app, like Outlook, Teams or SharePoint. At sign-in it can read that status and decide: let them in, ask for more, or block.
Compliance is mostly about checking; setting things, like turning BitLocker on, is a configuration profile’s job. But it isn’t purely read-only. Learn sorts compliance settings into remediated (the OS enforces it, for example forcing a PIN) and quarantined (the OS doesn’t enforce it, so the device is just flagged and, with Conditional Access, blocked). When a compliance policy and a configuration policy disagree on a setting, the compliance policy wins.
Before you start
- Licensing: users need at least an Intune Plan 1 license. Conditional Access needs Microsoft Entra ID P1, and risk-based conditions need P2. Plans change, so check the licensing pages on Microsoft Learn. If Conditional Access licenses expire, policies aren’t deleted, but you can’t update them.
- The device has to be enrolled in Intune to get a compliance status. Devices enrolled with a device-only license can’t use Conditional Access.
- Roles: in Intune, Policy and Profile Manager and Endpoint Security Manager can create and assign compliance policies; Help Desk Operator can read them. In Entra, Conditional Access Administrator or Security Administrator create policies, and Security Reader can view them.
The settings that come before any policy
Intune has two tenant-wide settings that act like a built-in compliance policy every device receives:
- Mark devices with no compliance policy assigned as: Compliant by default, so a device with no policy counts as compliant. If you use Conditional Access, Microsoft says to change it to Not compliant. The Devices without compliance policy report shows who’s affected.
- Compliance status validity period: 30 days by default (1 to 120). A device that doesn’t report in that time is treated as noncompliant (“Is active” in reports).
The built-in policy also checks that the enrolled user still exists and has a valid Intune license. A device that hasn’t checked in for 30 days or more gets an enrollment remediation flow in Company Portal, and if that fails, Intune issues a retire command.
Building a policy
Each platform needs its own policy: Android device administrator (deprecated), AOSP, Android Enterprise, iOS/iPadOS, Linux, macOS, Windows 10 and later, and Windows 8.1 and later (support ended in October 2022). The wizard runs Basics, Compliance settings, Actions for noncompliance, Assignments, Review + create, plus Scope tags if you use them.
- Assign to user groups (all of that user’s devices are checked) or device groups (Microsoft notes they help with reporting). Linux policies can only go to device groups. Assignment filters narrow things further.
- Userless devices need care: userless Macs aren’t evaluated; ADE iPhones and iPads without user affinity, Android dedicated devices and DEM-enrolled devices can show Not evaluated. On dedicated Android devices without Entra shared device mode, users can’t reach Conditional Access-protected resources even when compliant.
What a policy can check
| Platform | Main categories |
|---|---|
| Windows | Device Health (BitLocker, Secure Boot, code integrity via attestation), OS versions and valid build ranges, System Security (password, encryption, firewall, TPM, antivirus, antispyware), Defender, Defender for Endpoint risk score, WSL, Configuration Manager compliance |
| macOS | System Integrity Protection, OS versions and builds, password, FileVault, firewall (incoming connections, stealth mode), Gatekeeper, custom scripts |
| iOS/iPadOS | Email profile, jailbreak, MTD threat level, OS versions and builds, Defender risk score, passcode, restricted apps |
| Android Enterprise | Rooted devices, threat level, Defender risk score, security patch level, password, encryption, Google Play Integrity |
| AOSP | Rooted devices, OS versions, patch level, password, encryption |
| Linux | Allowed distributions, custom compliance, encryption, password (settings catalog) |
Details worth knowing:
- BitLocker is measured at boot, so after encryption a reboot is needed before the device shows compliant.
- On macOS, requiring a password expires the existing password for all accounts, including those created by LAPS and Platform SSO.
- On iPhone and iPad, users are prompted to set a passcode every 15 minutes until they do.
- Strong integrity on Android needs Play’s hardware-backed check; devices that can’t pass are noncompliant, and on Android 13 and later it also requires a security update in the past 12 months.
- Compliance reports aren’t available for AOSP yet.
Custom compliance
When built-in settings don’t cover it (a BIOS version, a TPM), custom compliance works on Windows (not Home), macOS and Linux. You provide a discovery script (PowerShell on Windows, POSIX shell on macOS and Linux) and a JSON file with each setting, the compliant value and remediation messages. One script per policy, and it can discover several settings. Custom results count for Conditional Access like built-in ones. Discovery runs every eight hours on Windows, and a fix can take up to eight hours to show.
With the Intune WSL plug-in, the compliance of Windows Subsystem for Linux folds into the host’s state, though Microsoft notes malicious software or user actions can still compromise that evaluation.
Risk signals and partners
- Microsoft Defender for Endpoint: require the device to be at or under a machine risk score (Clear, Low, Medium, High). If malware compromises a device, Defender flags it high risk and Intune can cut off access. Works on Android, iOS/iPadOS and Windows.
- Mobile Threat Defense partners: require a device threat level; user groups only.
- Device compliance partners like Jamf Pro add their results to Entra ID for Conditional Access, one partner per platform; users still need an Intune license.
- Network access control partners like Cisco ISE, Aruba ClearPass and Citrix NetScaler can use Intune enrollment and compliance state.
When the check runs
Devices are evaluated at check-in, about every eight hours, more often right after enrollment (Android, AOSP and Windows every 3 minutes for 15 minutes, then every 15 minutes for 2 hours; Apple devices every 15 minutes for an hour). On Windows, client-driven compliance evaluation watches key settings like the firewall, antivirus, BitLocker and Secure Boot and re-evaluates on change. Users can sync from Company Portal to check right away. Reports update at check-in, and a device can take up to 24 hours to appear in a policy’s chart.
What the status means
Main statuses are Compliant, Not compliant, In grace period and Not evaluated (where new devices start); reports can also show Not applicable, Conflict, Error, Unknown and Pending. With several policies, the device gets the highest severity: Unknown < Not applicable < Compliant < In grace period < Noncompliant < Error. One failing policy outweighs three passing ones.
A setting that returns Error leaves the state unchanged for up to seven days, then the device becomes Not compliant (or In grace period if one is set).
Actions for noncompliance
Every policy starts with Mark device noncompliant at zero days. You can’t remove it, but delaying it creates the grace period. You can add:
- Send email to the end user (from notification templates; sent to the profile email address, expected within six hours).
- Remotely lock the device (not on Windows or Linux).
- Add the device to the retire list (an admin still has to start the retirement).
- Send a push notification (Android and iOS/iPadOS; not guaranteed, so not for urgent messages).
Each action runs on a schedule from 0 to 365 days and can repeat. These actions don’t block sign-in; Conditional Access does that after the grace period.
Monitoring compliance
The compliance dashboard shows device status and devices without a policy; each policy has device status, a full report and per-setting status. Keep in mind: reports show the last user on the device (“System account” when nobody signed in), the Device compliance column is the device’s overall state, and setting values are reported by the device and not validated, so don’t act on them alone.
Conditional Access: the gate
Microsoft calls Conditional Access its Zero Trust policy engine. It combines signals (user, group or agent, location, device, application, risk, Defender for Cloud Apps), makes a decision and enforces it. A policy is an if-then statement: the “if” is Assignments, the “then” is Access controls. It’s enforced after first-factor authentication, and the Conditional Access node in the Intune admin center is the same as in Entra.
Who
All users (B2B guests included), selected users and groups, guest types and built-in directory roles. Exclusions win over inclusions. Group membership is evaluated when a token is issued, so new members aren’t covered until they get a new token. Policies can also target agents (agent identities support only Block; agents acting as users can be blocked or required to use a compliant device) and workload identities (single-tenant service principals, with Workload Identities Premium).
What
Target resources (formerly cloud apps): use the Office 365 grouping rather than single apps, and remember policies apply to the resource, not the client. Microsoft recommends a baseline MFA policy for all users and All resources, and that every app has at least one policy. For Intune admins, the Microsoft Intune and Microsoft Intune Enrollment apps matter. User actions (Register security information, Register or join devices) and authentication context are here too.
Where and how
- Network (formerly Location): trusted networks, Global Secure Access compliant network (MDM-enrolled devices only), named IP ranges or countries.
- User and sign-in risk need Entra ID Protection (P2); insider risk comes from Purview.
- Device platforms aren’t verified (user agents can be changed), so pair them with compliance or a block, and add a policy for unsupported platforms.
- Client apps: legacy authentication can’t do MFA or pass device state.
- Filter for devices matches properties like compliance or join type; unregistered devices only match negative operators.
- Authentication flows: Microsoft recommends blocking device code flow wherever possible.
Then: grant controls
- Block access, or grant with one or more of:
- Require multifactor authentication, or an authentication strength such as phishing-resistant MFA.
- Require device to be marked as compliant, which reads Intune’s stamp. Supports Windows 10 and later, iOS, Android, macOS and Linux Ubuntu devices registered with Entra and enrolled in Intune, and doesn’t block Intune enrollment itself.
- Require Microsoft Entra hybrid joined device.
- Require app protection policy (the guidance for new policies, since Require approved client app is being retired).
- Require password change (risky users), require risk remediation, terms of use, custom controls (preview).
Several controls are all required by default, or switch to require just one.
How the decision is made
All applicable policies must be satisfied. Evaluation runs in two phases: phase one collects session details (for enabled and report-only policies); phase two enforces. A Block stops there; otherwise the user is asked for what’s missing, MFA first, then device state, then terms of use, and session controls apply once grant controls pass. Conditional Access is evaluated at first sign-in and again when a refresh token gets a new access token, by default about once an hour. Service dependencies matter too: Teams relies on SharePoint and Exchange.
At the gate with Intune
- In a browser, the device identity must be passed: Edge does it when signed in; Chrome on Windows needs the Microsoft Single Sign On extension or a policy. Private mode or blocked cookies fail the device check. iOS, Android and macOS use a client certificate the user selects on first sign-in.
- A noncompliant user sees a message, and Company Portal lists what to fix.
- Device code flow can’t satisfy a managed-device requirement, and authentication transfer doesn’t carry device claims.
- App-based Conditional Access for unenrolled phones uses a broker app (Authenticator on iOS, Company Portal on Android) with Require app protection policy.
- Exchange ActiveSync needs its own policy, because platform is the only condition it supports.
After the gate: session controls
- App enforced restrictions (Exchange Online, SharePoint Online): limited access on unmanaged or noncompliant devices, full access otherwise.
- Conditional Access App Control routes the session through Defender for Cloud Apps to monitor or restrict downloads.
- Sign-in frequency (default rolling 90 days in Entra) and persistent browser session.
- Continuous access evaluation, on by default: critical events (account disabled, password reset, MFA enabled, tokens revoked, high user risk) apply in near real time instead of waiting for the one-hour token.
- Resilience defaults, token protection and Global Secure Access security profiles.
Turning it on safely
- Create a compliance policy first, make sure at least one device is compliant, and set the no-policy setting to Not compliant.
- New policies start in report-only mode. Run each one for at least a week. Report-only policies that require a compliant device can still prompt Mac, iOS and Android users for a certificate, so exclude those platforms there.
- Use the What If tool to simulate a sign-in, and the policy impact view.
- Keep two or more emergency access accounts excluded from blocking policies. Templates exclude only the admin who creates them.
- Limits: 240 policies per tenant; security defaults must be off; Microsoft-managed policies turn on 30 days after arriving in report-only; deleted policies can be restored within 30 days.
When it goes wrong
The error page’s More details link has IDs for support. Entra sign-in logs have a Conditional Access tab showing which policy interrupted the sign-in (error codes start with AADSTS, like AADSTS53002). Check that the user and device are both compliant, the user has an Intune license and is in an assigned group. Some manufacturers encrypt with a default PIN, which Intune treats as insecure, and a retired device may keep Exchange access for several hours because access rights are cached for six hours.
Recap
Is this device healthy? Intune answers with tenant-wide settings and compliance policies, ranks the results and runs actions on a schedule. Should it get in right now? Conditional Access answers at sign-in and as tokens refresh, then grants, asks for more or blocks. Back to Alex: with the no-policy setting on Not compliant, a Windows compliance policy and Office 365 requiring a compliant device, Outlook stops at the gate and Company Portal shows what to fix.
What’s the first rule you’d put in a compliance policy? Tell me in the comments.
Comments
Comments are hosted on YouTube for Intune Compliance Policies and Conditional Access Explained
Have a question or something that worked for you? Leave a comment on the video.
Comment on YouTubeLoading comments from YouTube…
Likes and comments are shown from YouTube under the YouTube Terms of Service · Google Privacy Policy
Keep learning
Intune/News & analysis·Reading time: 4 MIN
What's New in Microsoft Intune, October 2026 (18 Changes You Need to Know)
All 18 Intune changes from October 2026 and service release 2610: Administrator protection, the 26H2 baseline, scoped permissions, Apple removals and what to do.
Intune/How-to guide·Reading time: 3 MIN
How to Deploy and Customize the Company Portal for Windows with Intune
What the Intune Company Portal app is, how to deploy it to Windows with Intune, what users see, and how to add your branding and help desk details.
Intune/How-to guide·Reading time: 3 MIN
How to Configure OneDrive Known Folder Move via Intune: A Must-Have Policy for Modern Workplaces
How to configure OneDrive Known Folder Move (KFM) with Microsoft Intune so Desktop, Documents and Pictures sync to OneDrive on Windows devices.


