Intune

How to Use Intune Assignment Filters

Published 18 March 2026 · 7 min read

Intune assignment filters let you refine policy and app assignments without creating dozens of separate Entra ID groups. Instead of making a group for every combination of OS version, manufacturer, or model, you assign to a broad group and use filters to target the exact devices you want. This guide covers creating filters, the filter syntax, and real-world examples.

How filters work

Filters are applied at assignment time. When Intune evaluates whether a policy applies to a device, it checks:

  1. Is the device (or user) in the assigned group? If no, policy does not apply.
  2. Does the device pass the filter rule? If no, policy does not apply.
  3. Both conditions met - policy applies.

Filters evaluate device properties from the Intune device record - not from the device itself, so they apply quickly without waiting for a check-in.

💡
Filters are faster than dynamic groups
Dynamic Entra ID groups can take minutes to hours to update when device properties change. Filters evaluate at policy check-in time using current device properties, so they respond much faster to device changes.

Create a filter

Tenant Administration → Filters → + Create
  1. Give the filter a descriptive name (e.g. Filter - Windows 11 Only)
  2. Select Platform: Windows 10 and later
  3. Write your filter rule using the rule editor
  4. Use Preview to test against your real devices before saving

Filter rule syntax

Filter rules use a simple property-operator-value syntax. Multiple conditions can be joined with and / or.

📝
Available operators
-eq(osVersion -eq "10.0.22621")
Equals
-ne(manufacturer -ne "VMware, Inc.")
Not equals
-startswith(deviceName -startswith "LAPTOP-")
Starts with
-endswith(deviceName -endswith "-PROD")
Ends with
-contains(model -contains "Surface")
Contains substring
-in(manufacturer -in ["Dell Inc.","HP","Lenovo"])
Value is in a list
-ge / -le(osVersion -ge "10.0.19041")
Greater/less than or equal

Useful filter examples

Target Windows 11 devices only

(osVersion -startswith "10.0.22")

Target a specific manufacturer

(manufacturer -eq "Dell Inc.")

Exclude virtual machines

(manufacturer -ne "VMware, Inc.") and (manufacturer -ne "Microsoft Corporation") and (model -ne "Virtual Machine")

Target devices by naming convention

(deviceName -startswith "KIOSK-")

Target specific Windows 10 build or later

(osVersion -ge "10.0.19045.0")

Include vs Exclude mode

When applying a filter to a group assignment, you choose:

Use Exclude mode to deploy a policy to everyone except specific device types - for example, assign a strict security policy to All Devices but exclude kiosk devices using a filter.

Evaluate filters on a device

To see what filter values apply to a specific device:

Devices → All devices → select device → Filter evaluation

This shows the current property values for that device and lets you test whether a specific filter would match it - useful for verifying a filter before assigning it to production policies.

Frequently Asked Questions

Q: What are Intune assignment filters?

Assignment filters let you refine who or what a policy, app, or configuration profile applies to within a group assignment. Instead of creating separate groups for every policy variation, you assign to All Devices then filter by device properties like OS version, manufacturer, or device name pattern.

Q: What properties can I filter on in Intune?

Filters support: OS version (osVersion), device name (deviceName), manufacturer (manufacturer), model (model), device category (deviceCategory), OS (operatingSystem), and enrollment profile name (enrollmentProfileName). You can combine multiple properties using AND/OR operators.

Q: Do Intune filters replace groups?

No. Filters work on top of group assignments - you still assign to a group, then apply a filter to include or exclude devices within that group. Think of filters as a dynamic refinement layer on top of static group membership.

Q: Can I use filters with compliance policies and app deployments?

Yes. Filters work with configuration profiles, compliance policies, app assignments, Endpoint Security policies, and Update rings. They do not currently support Enrollment restrictions or some legacy policy types.

Related Guides
-> Deploy PowerShell Scripts-> Custom Compliance-> Deploy Win32 Apps
// need intune set up properly?
Fixed-price Intune setup for UK businesses

I set up Intune for UK small businesses at a fixed price - app deployment, compliance policies, Conditional Access, and full documentation.

View Packages