In this post, I’ll show you how to find the ScopeID in SCCM using different methods that include ConfigMgr console, PowerShell, and SQL Query.

A Scope ID is a unique identifier that is used internally to distinguish objects within the SCCM infrastructure. SCCM ScopeIDs (CI_UniqueIDs) are part of the Object IDs assigned to various objects, such as packages, applications, collections, and other resources.

Scope IDs are stored in the SCCM database to ensure uniqueness across distributed environments. One classic example where you would have seen the ScopeID is when the task sequence fails to resolve the dependencies due to a missing application. In this scenario, finding the ScopeID reveals the application that is missing on the remote distribution point.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC
SCCM Task Sequence fails with ScopeID
SCCM Task Sequence fails with Application ScopeID missing

How to Find the ScopeID in SCCM

If you’re troubleshooting deployments with SCCM, the ScopeID helps you uniquely identify and target specific objects, especially in environments with multiple sites or hierarchies. Let’s explore different methods to determine the ScopeID of objects in Configuration Manager.

Method 1: Using the SCCM Console:

In the ConfigMgr console, navigate to the Software Library workspace. Select the Application or Package for which you want to determine the Scope ID. Right-click on a column detail name and add the CI Unique ID column. The console now displays the ScopeID of all the objects under the CI Unique ID column.

Find the ScopeID in SCCM console
Find the ScopeID in SCCM console

To check the content status of all applications, packages, and other objects, go to Monitoring > Overview > Distribution Status > Content Status. Include the Object ID column to view the ScopeID for each individual objects.

Find the ScopeID of all objects in SCCM console
Find the ScopeID of all objects in SCCM console

Method 2: Using PowerShell

The below PowerShell command retrieves the ScopeIDs including the localized display names of all the applications in SCCM.

Get-CMApplication | Select-Object -Property Localizeddisplayname, CI_UniqueID
    Find the ScopeID in SCCM using PowerShell
    Find the ScopeID in SCCM using PowerShell

    To find the Scope ID of an individual application in SCCM, use the below PowerShell command. Replace the name of the application in the below command before running it.

    Get-CMApplication -Name "7-Zip 24.09 (EXE-x64)"| Select-Object -Property Localizeddisplayname, CI_UniqueID
    Find the ScopeID of an application in SCCM using PowerShell
    Find the ScopeID of an application in SCCM using PowerShell

    Method 3: Using SQL Query

    If you have access to the SCCM database, you can query the relevant tables to find the ScopeID. The below SQL query shows the ScopeIDs for all applications in the database.

    SELECT DisplayName, ModelName FROM v_Applications
    Find the ScopeID in SCCM using SQL Query
    Find the ScopeID in SCCM using SQL Query

    Further Reading

    You may find the below guides useful.

    Still Need Help?

    If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Prajwal Desai

    Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a strong focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.