Articles on: Active directory

**To Create a Group Membership Rule**

Articles on: Active directory

**To Create a Group Membership Rule**





Sign in to the Azure AD admin center with an account that is in the Global administrator, Intune administrator, or User administrator role in the Azure AD organization.


Search for and select Groups.


Select All groups and select New group.




On the Group page, enter a name and description for the new group. Select a Membership type for either users or devices, and then select Add dynamic query. The rule builder supports up to five expressions. To add more than five expressions, you must use the text box.




To see the custom extension properties available for your membership query:

Select Get custom extension properties

Enter the application ID, and then select Refresh properties.

After creating the rule, select Save.

Select Create on the New group page to create the group.


If the rule you entered isn't valid, an explanation of why the rule couldn't be processed is displayed in an
Azure notification in the portal. Read it carefully to understand how to fix the rule. To update an existing rule1. Sign in to the Azure AD admin center with an account that is in the Global administrator, Group
administrator, Intune administrator, or User administrator role in the Azure AD organization.
Select Groups > All groups.

Select a group to open its profile.

On the profile page for the group, select Dynamic membership rules. The rule builder supports

up to five expressions. To add more than five expressions, you must use the text box.



To see the custom extension properties available for your membership rule:

Select Get custom extension properties

Enter the application ID, and then select Refresh properties.

After updating the rule, select Save.


Expressions you can use for Dynamic Membership Complete list of supported properties and expressions is available at this link.

Updated on: 31/01/2023

Updated on: 01/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!