How To Create A Device Collection Based on Active Directory OU

Jason Barrett Jason Barrett | | Device Collection

In SCCM you can create a user or device collection that will be populated by an active directory organizational unit or ou.

This can be very handy to use as it means you don’t need to give anyone access to SCCM to update memberships in collections.

To create a device collection based on an active directory OU there are a few steps we need to perform.

Create A Device Collection Based on Active Directory OU

To create a device collection based on an active directory ou we are going to create a device collection that uses a query membership rule.

To do this follow these steps

  1. Open configuration manager console
  2. Go to \Assets and Compliance\Overview\Device Collections
  3. Click on create device collection in the toolbar
    create device collection ou
  4. Give the collection a good descriptive name

    For advise on naming conventions for collections take a look at this guide I wrote.

  5. Set the limiting collection by clicking browse (I recommend not to use the All systems collection)
  6. Click next
    create device collection wizard
  7. Click Add Rule > Query Rule
    create query rule
  8. On the query rules properties page give the query a name
  9. Click on Edit Query Statement
    query rule properties
  10. Click the Criteria tab
  11. Click the sun icon to edit the criteria
    criteria tab
  12. Click select
  13. For Attribute class select System Resource
  14. For Attribute select System OU Name
  15. Click Ok
    criterion properties
  16. For the operator select is equal to
  17. Click the value button
  18. Highlight the required OU
  19. Click ok
    select ou
  20. Click ok
  21. Click ok
  22. Click ok
  23. Click Next
  24. Click Next
  25. Click Close
  26. Right click on the device collection you just created and select refresh
  27. Now check the amount of members in the group are as expected

sccm device collection with members from active directory ou

Leave a Comment