dynamic query rule maximum lenght

Massimiliano Bouvet (RED Account) 0 Reputation points

I wonder if there is a maximum lenght to create a dynamic group rule in Azure/intune

Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
37 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. glebgreenspan 1,125 Reputation points


    As of the latest information available, the maximum limit for the number of rules in a dynamic group in Azure AD is 15 rules. This means that you can create up to 15 rules to dynamically add members to a group based on specific criteria.

    0 comments No comments

  2. Crystal-MSFT 42,306 Reputation points Microsoft Vendor

    @Massimiliano Bouvet (RED Account), Thanks for posting in Q&A. Based on my researching, the Simple Rule builder supports up to five (5) expressions. To add more than five expressions to the rule, the text box must be used.


    And the total length of the body of your membership rule can't exceed 3072 characters.


    Hope the above information can help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.