Create Dynamic Collections in SCCM for Different Attribute Classes | ConfigMgr

Dynamic collections in Microsoft Configuration Manager (SCCM/ConfigMgr) allow administrators to automate device grouping using WQL queries. Instead of manually adding systems, you can build collections that update automatically based on attributes like hardware model, OS version, or Active Directory OU. In this guide, we’ll walk through creating dynamic collections step by step and explore key attribute classes you can leverage for smarter deployments.

How to Create a Dynamic / Query-Based Collection

In the Configuration Manager console, navigate to Asset and Compliance. Right‑click Device Collections, and then select Create Device Collection.

SCCM Collection

On the General page, enter a Name for your collection. Next, click Browse under Limiting Collection, and select the collection you want to use as the membership boundary for your new collection.

A limiting collection defines the boundary for membership. Any query‑based collection you create will only include devices that are already part of the limiting collection. In other words, your new collection becomes a subset of the limiting collection.

SCCM Collection query wizard

On the Membership Rules page, click on Add Rule and select Query Rule from the drop-down list.

SCCM Collection query wizard

On the Query Rule Properties dialog box, enter a name for the query rule and then click on Edit Query Statement.

SCCM Collection query wizard | Dynamic Collections

In the Query Statement Properties dialog box, select the Criteria tab and click on Add (Yellow Start) to add a new query rule.

SCCM Collection query wizard

In the Criterion Properties dialog box, select the following.

Criterion Type: Simple value

Where: Click on Select…

SCCM Collection query wizard

In the Select Attribute dialog box, select the following

Attribute class: System Resource

Attribute: System OU Name

Click on Ok to return to the previous dialog box.

SCCM Collection query wizard

Back to the Criterion Properties dialog box, select the following

Operator: is like

Value: Click on Value…

SCCM Collection query wizard

In the Values dialog box, you will see the list of all Active Directory OUs that have been discovered as part of Active Directory system discovery.

Select the desired OU and click on Ok to return to the previous window.

SCCM Collection query wizard

Back on the Criterion Properties dialog box, verify the query rule and click on Ok.

SCCM Collection query wizard

You are now back to the Query Statement Properties dialog box. Click on Ok to close the dialog box.

SCCM Collection query wizard

On the Query Rule Properties dialog box, click on Ok to return to the Create Device Collection Wizard.

SCCM Collection query wizard

On the Membership Rules page, select Use incremental updates for this collection if you want to enable incremental updates.

Click on Next

SCCM Collection query wizard

On the Summary page, review the collection details and click Next. The collection will be created, and you will then see the Progress and Completion pages confirming the process.

SCCM Collection query wizard

Different Attribute Classes and Attribute Names for Dynamic Collections

In the demonstration above, we used the System Resource class with the System OU Name attribute. This allows the collection membership to be populated dynamically based on the Active Directory Organizational Unit (OU) name.

Attribute class: System Resource

Attribute Name: System OU Name

SCCM Collection query wizard

SCCM provides many SMS Provider WMI Server classes (also called attribute classes) that you can use to build device collections based on different criteria. By selecting the appropriate class and attribute, you can dynamically group devices according to hardware details, operating system properties, Active Directory information, or other configuration data

Other posts in this series

The following blog posts provide detailed coverage of the attribute classes most commonly used when creating dynamic collections or SCCM queries. The process for creating a dynamic collection remains the same as described above—you simply select the appropriate Attribute Class and Attribute Name based on your requirements.

Each post also includes complete WQL queries that you can copy and paste directly into the Query Editor to quickly build your collections.

Explore these related guides to build dynamic collections and queries more effectively:

Frequently Asked Questions (FAQs)

Q1. What is a dynamic collection in SCCM?
A dynamic collection is a device or user collection in SCCM that automatically updates its membership based on query rules (WQL). This ensures that devices meeting specific criteria are always included without manual intervention.

Q2. What is the role of a limiting collection?
A limiting collection defines the boundary for membership. Any new query‑based collection you create will only include devices that are already part of the limiting collection, making it a subset.

Q3. Can I use multiple attribute classes in one query?
Yes. You can combine different attribute classes (such as Operating System, Computer System, or System Resource) to refine your query and target devices more precisely.

Q4. What are incremental updates in SCCM collections?
Incremental updates allow SCCM to refresh collection membership more frequently without running a full update cycle. This helps keep collections current while reducing load on the site server.

Q5. Where can I find ready‑to‑use queries?
This blog series includes complete WQL queries for common scenarios. You can copy and paste them directly into the Query Editor to quickly build collections.

Conclusion

Dynamic collections in SCCM (ConfigMgr) are a powerful way to automate device grouping and streamline deployments. By leveraging SMS Provider WMI Server classes and attributes, administrators can build collections that adapt to organizational changes—whether based on Active Directory OUs, hardware models, or operating system versions. Using limiting collections ensures proper scoping, while incremental updates keep memberships fresh without heavy server load.

With the examples and queries provided in this series, you can quickly create collections tailored to your environment, saving time and improving accuracy in your configuration management workflows

Related Posts:

Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.

Scroll to Top