2 Easy Ways to Find Collection ID in SCCM | ConfigMgr

Prajwal Desai
Posted by Prajwal Desai
Find Collection ID in SCCM ConfigMgr

In this article, you’ll learn multiple ways to find collection ID in SCCM (ConfigMgr). We will learn how to find the collection ID of both user collections and device collections in Configuration Manager.

There are numerous advantages to knowing how to find the collection ID in Configuration Manager. When you want to run a PowerShell script against a collection, you need to know the collection ID. It’s also helpful when you need to run reports that require you to input the collection ID of a collection.

By default, the Collection ID column is hidden in the SCCM console for both user collections and device collections. You have to enable this column manually in the console to determine the collection ID.

When you launch the SCCM console, you have tons of options. Exploring each option will surely take time, but it’s worth learning about the Configuration Manager console from Microsoft. In this article, we will first learn about SCCM collection IDs and then look at different methods for finding collection IDs in SCCM.

Before you read further, take a look at some useful articles:

What is a collection ID in SCCM?

A Collection ID in SCCM is a unique 8-character number that is generated and associated with each collection you create in SCCM. The collection IDs are associated with both device collections and user collections in ConfigMgr.

When you install Configuration Manager, it creates a set of built-in device collections and user collections. ConfigMgr assigns a unique collection ID to each of these built-in collections. For example, “All Systems” is one such example of built-in device collection in ConfigMgr. Similarly, “All Users” is one example of a built-in user collection in SCCM.

The collection IDs of built-in collections in SCCM start with “SMS” followed by a 6-digit letter or number. Whereas the collection IDs of custom collections start with a three-character alphanumeric site code followed by a unique 6-digit number.

Note: Renaming a device collection or user collection in SCCM will not change the Collection ID.

What is Collection ID in SCCM or ConfigMgr
What is Collection ID in SCCM or ConfigMgr

The trick to finding the collection ID is simple. You just need to add the Collection ID column in the console, and that will display the Collection ID for all your device and user collections.

Default Collections vs. Custom Collections?

In Configuration Manager, there are two types of collections: default collections and custom collections. Let’s understand the differences between each of these:

  • Default Collections: These are also known as built-in collections and are created in your setup when you install SCCM primary site. The collection IDs for default collections begin with SMS followed by a number. You cannot delete default collections from the console or SCCM database.
  • Custom Collections: Custom collections are created by Configuration Manager administrators for specific purposes. The collection ID of a custom collection begins with your three-letter site code followed by a number. You can delete a custom collection directly from the console or even via a SQL query.

Read Also: How to Find Empty Collections in SCCM (ConfigMgr)

Where do you require a SCCM collection ID?

Listed below are some examples where you will need to know the SCCM collection ID:

  • When you run reports in SCCM, a few reports require you to input the collection ID.
  • You may be running a PowerShell script that requires you to specify the collection ID.
  • A SCCM collection ID is required to find the patch status for a collection.

Read Also: 3 Best Ways to Find the Package ID of SCCM Application

Find Collection ID of SCCM Device Collection

Use the following steps to find the collection ID of a device collection in SCCM:

  1. Launch the SCCM console.
  2. Go to Assets and Compliance\Overview\Device Collections.
  3. Right-click on the column and select Collection ID from the list of options.
  4. The unique collection ID of a device collection is now visible in the console.
Find Collection ID in SCCM - Device Collection
Find Collection ID of SCCM Device Collection

Find Collection ID in SCCM of User Collection

You can use the following steps to find the SCCM collection ID of a user collection:

  1. Launch the ConfigMgr Console.
  2. Go to Assets and Compliance\Overview\Device Collections.
  3. Right-click on the column and select Collection ID from the list of options.
  4. The collection ID of a user collection is now visible in the console.
Find Collection ID in SCCM - User Collection
Find Collection ID in SCCM – User Collection

Best Way to Find Collection ID of All Collections in SCCM

You can find the Collection ID’s of all the collections (User and Device Collections) with these steps :-

  1. Launch the Configuration Manager console.
  2. Go to Monitoring\Overview\Collection Evaluation.
  3. Select Full Evaluation Status, and now you should see the collection ID for all the collections.
  4. The collection ID of both user collections and device collections are displayed.
Find the Collection ID from Collection Evaluation
Find the Collection ID from Collection Evaluation

Note: The collection evaluation process evaluates the membership rules of a collection to update its members. Starting in SCCM 2103, the Full Evaluation Status and Incremental Evaluation Status subnodes have been added to the Collection Evaluation node in the Monitoring workspace.

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
2 Comments