Microsoft Intune
Fundamentals

Assignment Filter Performance Tips for Intune

In brief

Updated Microsoft Intune documentation in intune/fundamentals/filters/performance-recommendations.md.

What Intune admins need to know

Review the underlying documentation change to determine whether it affects tenant configuration or rollout plans.

This summary was assembled from the tracked documentation change. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Open the full-page diff for complete context.

Avoid memberOf in dynamic group rules

DODON'T
:::image type="icon" source="../../media/icons/16/check.svg" border="false"::: Use direct property comparisons (-eq, -startsWith, -in) in dynamic group rules.:::image type="icon" source="../../media/icons/16/error.svg" border="false"::: Don't use the memberOf operator in dynamic group rules for Intune targeting.

The memberOf operator triggers transitive group membership lookups, which adds significant processing complexity. In large environments, memberOf-based rules can cause long evaluation times and produce unexpected membership results due to the recursive nature of the lookup.

If you need to target devices based on their membership in another group, evaluate whether the scenario can be redesigned using a direct device property or an assignment filter. For example, instead of device.memberOf -any (group.objectId -in ['<groupId>']), consider whether the devices share a common attribute (like enrollment profile name, device category, or manufacturer) that can be used in a simpler rule or filter.

Summary

When creating and managing assignments in Intune, incorporate some of these recommendations. Use groups or virtual groups, and apply assignment filters to help refine the targeting scope. Keep the best practices in mind:

  • To optimize your targeting, reuse groups as much as possible.
  • Take care when making large nesting changes to Intune groups. Intune needs to process all these changes and calculate effective changes for all the members of all the groups impacted by that change.
  • Intune doesn't support mixed group exclusions. So, use assignment filters to dynamically include and exclude devices in addition to group or virtual group assignments.
  • Use assignment filters instead of dynamic device groups when the group is only consumed by Intune.
  • Avoid memberOf in dynamic group rules. Use direct property comparisons instead.

For guidance on choosing between targeting methods (virtual groups, static groups, dynamic groups, assignment filters, and enrollment time grouping), go to Choose the right targeting method in Microsoft Intune.

Related articles

Daily Intune.Admin.News

Get daily email updates

Get a concise summary of the latest Microsoft Intune updates delivered straight to your inbox.

Email signup will appear here once the Kit form is configured. Until then, use the daily RSS feed.