Skip to content
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune

Written By Jitesh Kumar
Last Updated February 3, 2026
Posted In Intune
SHARE

Key Takeaways

  • Validate Rules helps test Entra Dynamic Group queries before or after saving them
  • Allows validation against sample users or devices
  • Helps troubleshoot unexpected group membership results
  • Improves accuracy of Intune targeting for apps and policies
  • Requires at least the Groups Administrator role
  • Indirect role assignments are not supported for rule validation

Microsoft Intune and Microsoft Entra ID continue to improve the dynamic group experience for administrators. One of the most useful recent enhancements is the Validate Rules option for Dynamic Group memberships. This feature appears as a dedicated tab within the Dynamic Membership Rules section, allowing Intune admins to test and validate dynamic queries before saving them. The Validate Rules tab runs the membership rule against selected users or devices and instantly confirms whether they would qualify as group members.

Table of Content

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune

To validate Microsoft Entra dynamic group membership rules, sign in to the Microsoft Intune admin center using an account with at least the Groups Administrator role. Navigate to Groups > All groups, then select an existing dynamic group or create a new one. Once the group is selected, open Dynamic membership rules to view, edit, and validate the rule configuration.

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.1
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.1

Dynamic Membership Rules

After selecting the dynamic group, navigate to the Dynamic membership rules tab. This section displays two options: Configure rules and Validate Rules. When you switch to the Validate Rules tab, you’ll see the + Add devices hyperlink. Click this link to select and add a device, allowing you to test whether it meets the dynamic membership rule criteria.

  • Go to the Validate Rules tab in the Dynamic membership rules section
  • Select Users (or Devices) to validate group membership
  • You can select up to 20 users or devices at a time
  • The validation result shows whether each selected user or device meets the dynamic rule criteria
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.2
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.2

How to Validate Rules

After completing the selection of devices, choose Select to proceed. The validation process starts automatically and evaluates thedynamic membership rule against the selected objects. The results clearly indicate whether each device qualifies as a member of the dynamic group or not, helping administrators quickly confirm rule accuracy.

Patch My PC
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.3
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.3

Verification Details Section

In the Verification details section, the validation results display the evaluated device, its membership status, and the rule logic applied. In this example, the dynamic rule (device.displayName -startsWith “CPC-“) was validated against the device CPC-Hth-qvb4PD8. Since the device display name starts with the specified prefix, the rule evaluation returns a positive result, confirming that the device meets the dynamic group membership criteria.

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.4
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.4

Dynamic Group Membership Rule

In the Verification details view, the validation results show that the device CLIENT1 does not meet the dynamic group membership rule. The rule (device.displayName -startsWith “CPC-“) was evaluated, but the device display name CLIENT1 does not start with the required “CPC-” prefix. As a result, the validation fails, and the device is marked as not eligible for inclusion in the dynamic group.

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.5
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.5

Edit and Validate Dynamic Membership Rules in Microsoft Entra

You can edit dynamic membership rules directly by clicking Edit in the rule box. After making the required changes, select Validate to immediately check the rule status. This allows administrators to confirm whether the updated rule correctly includes or excludes users or devices before saving the configuration.

How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune - Fig.6
How to Validate Microsoft Entra Dynamic Group Membership Rules in Intune – Fig.6

Need Further Assistance or Have Technical Questions?

Join the LinkedIn Page and Telegram group to get the latest step-by-step guides and news updates. Join our Meetup Page to participate in User group meetings. Also, join the WhatsApp Community  and the Whatsapp channel to get the latest news on Microsoft Technologies. We are there on Reddit as well.

Author

About Author – JiteshMicrosoft MVP, has over six years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus is Windows 10/11  Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Written by

Jitesh has over 5 years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Discussion

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Simplify Windows Devices to Run Only the Required Applications using Intune

Key Takeaways Hey, let’s learn about Simplify Windows Devices to Run Only the Required Applications using Intune. This policy lets administrators replace the default windows shell with a custom or lightweight shell. it improves performance by using system resources and is useful for devices that run a dedicated application. If the policy is disabled or […]

AC Anoop C Nair 8 min read
Intune

Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune

Key Takeaways In this post we are discussing about Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune. Microsoft has announced the general availability of Custom Compliance Settings for macOS in Microsoft Intune. The feature helps organizations strengthen security controls while supporting many types of macOS management scenarios. […]

AC Anoop C Nair 4 min read
Intune

Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune

Key Takeaways In this post we are discussing Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune. Microsoft Intune has received a new update that expands firmware management capabilities for Samsung Galaxy devices through Firmware Versionsintegration. This enhancement gives IT administrators more control over firmware and operating system updates, helping them […]

AC Anoop C Nair 4 min read
Intune

MS Intune Adds Windows Registry Data Collection to Device Inventory for Single Values All Key Values and Subkeys

Key Takeaways Microsoft Intune 2607 introduces Windows Registry Data collection in Device Inventory, allowing IT admins to verify actual device configurations without relying on custom discovery or remediation scripts. Using the Properties Catalog, admins can collect registry information through Single Value, All Values Under a Key (Non-Recursive), or Same Value Across Subkeys. MS Intune Adds […]

AC Anoop C Nair 5 min read