SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr

In this blog post, we will learn how to create an SCCM Dynamic report link to get specific application details installed on systems.

Most SCCM administrators might receive requests to provide reports, such as which specific application is installed on how many devices. Then, as an admin, you have to go to the SQL database, write a query, extract a report, and share it.

This is a daily task for the SCCM admin, so we should automate it and create a custom query link. I will share my experience creating a Dynamic report link to get the specific applications installed on the machines.

After creating the custom report link, you can share it with respective members to get the details quickly.

Patch My PC

Before creating a custom report link, create a folder to keep all the custom links. The ConfigMgr Console and SQL server report link offer options to create custom reports.

In the Configuration Manager console, go to the Monitoring tab -> Reporting and right-click to create a report. Provide the report’s name and browse the path where you want to save it.

Click next to complete the task. Then, edit the report in the report builder.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.1
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.1

You can also browse the SQL server report link, go to the folder location, select the report name you created in the ConfigMgr console, and edit the report with the report builder.

You can see this screen below, as we have already integrated Power BI with our lab SCCM environment. But in your case, the following would not be the same.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.1
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.2

Note: If you have already installed the report builder in the ConfigMgr box, then you can edit the report in the same box.

Once you edit the report in the report builder, it will show on the screen below.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.3
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.3

Expand the datasets. Select the dataset and right-click it. Then click ‘Dataset Properties‘.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.4
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.4

Paste the query below into the Query field.

select VRS.Name0 as 'Machine Name',
ARP.DisplayName0 as 'Application Name',
ARP.Version0 as 'Version',
ARP.Publisher0 as 'Publisher',
ARP.InstallDate0 as 'Application Installed Date'
from v_Add_Remove_Programs ARP
join v_R_System VRS on ARP.ResourceID=VRS.ResourceID
where ARP.DisplayName0 like @ProgramName
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.5
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.5

After pasting the query, click on the Ok button. You will be asked to provide the username and password to connect to the data source. If you have full permission, you can choose to use the Current Windows User option. Otherwise, you can use your username and password.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.6
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.6

Once you submit the OK button, you will see all the fields created below Datasets. Now go to the ‘Insert’ tab and Create a table according to the requirement. Format the table and select the appropriate fields in each column.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.7

For example, I’m using the Report Name, Folder Path, Report URL, etc., on the report page.

To create such a field, create another table and specify the name you want to use in the table. In each field, Right-Click on the column and select Expression.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.8
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.8

Go to ‘Built-in Fields‘ and choose the appropriate Item according to the table. Copy the field from the Example and paste it into the Value Expression Tab. Then click Ok.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.9
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.9

Result of the Dynamic Report

To check the report, click on the report link and open it on the browser. Put the name of the application you want to look for and click on View Report to get the results.

SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr - Fig.10
SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr – Fig.10

Resources

We are on WhatsApp. To get the latest step-by-step guides and news updates, Join our Channel. Click here –HTMD WhatsApp.

Author

Debabrata Pati has more than 8+ years of experience in IT. Skilled in MEMCM, Azure, and Powershell. More than Six (6) years of experience in MEMCM (SCCM) administration, OSD, and Troubleshooting for the environment with more than 100K client devices.

1 thought on “SCCM Dynamic Report Link to Get Specific Application Details | ConfigMgr”

Leave a Comment