Validate a dynamic group membership rule (preview) in Microsoft Entra ID
Microsoft Entra ID provides the means to validate dynamic group rules (in public preview). On the Validate rules tab, you can validate your dynamic rule against sample group members to confirm the rule is working as expected. When you create or update dynamic group rules, you want to know whether a user or a device will be a member of the group. This knowledge helps you evaluate whether a user or device meets the rule criteria and help you troubleshoot when membership isn't expected.
Prerequisites
To evaluate the dynamic group rule membership feature, the administrator must be at least a Groups Administrator.
Tip
Assigning one of required roles via indirect group membership is not yet supported.
To validate a dynamic group membership rule
To get started, sign in to the Microsoft Entra admin center as at least a Groups Administrator.
Browse to Identity > Groups > All groups.
Select an existing dynamic group or create a new dynamic group and select Dynamic membership rules. You can then see the Validate Rules tab.
On the Validate rules tab, select users to validate their memberships. 20 users or devices can be selected at one time.
After you select users or devices from the picker, and then Select, validation automatically starts and validation results appear.
The results show whether a user is a member of the group or not. If the rule isn't valid or if there's a network issue, the results show as Unknown. If the value is Unknown, the detailed error message describes the issue and actions needed.
You can modify the rule to trigger a new validation of memberships. To see why user isn't a member of the group, select View details and verification details show the result of each expression composing the rule. Then select OK to exit.
Next steps
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for