Skip to content
Who Deleted Application from SCCM Audit Reports Best  Method to Track

Who Deleted Application from SCCM Audit Reports Best Method to Track

Written By Anoop C Nair
Last Updated May 12, 2022
Posted In SCCM
SHARE

Let’s find out who deleted Application from SCCM. You can use SCCM audit messages to find out these details. There are audit messages to track and find out who deleted the SCCM packages however there is nothing available to track the application.

Let’s also learn who modified App Deployment from ConfigMgr using the audit reports. You can find out who created, modified, and deleted the Configuration Manager Application deployments from this post. The main topic over here is Who Deleted Application from SCCM.

The SCCM application model uses the Configuration Items for end-to-end management of each component with this workflow. Hence you can’t track applications and packages using the same SCCM status messages.

You need to create a custom SCCM status message query to easily track and find out who deleted the SCCM application. You can also SQL queries to track the status message and find out the admin name and other details.

Patch My PC

There are 13 audit status message queries available in SCCM but the application deletion status message query is not available in that list. You can also check the list of SCCM status message queries from SSMS (aka SQL Server Management Studio).

SCCM Audit Status messages

How many default audit reports are available in SCCM? How many SCCM audit status messages are stored in SCCM etc. How many default audit reports are available in SCCM? How many SCCM audit status messages are stored in SCCM etc.

Navigate to \Monitoring\Overview\System Status\Status Message Queries from the SCCM admin console and search with Audit to list down all the Audit-related status message queries.

Status Message query NameQuery ID
Boundaries Created, Modified, or DeletedSMS580
Site Addresses Created, Modified, or DeletedSMS579
Server Component Configuration ChangesSMS575
Security Roles / Scopes created, modified, or deletedSMS574
Remote Control Activity Targeted at a Specific SystemSMS573
Remote Control Activity Initiated from a Specific SystemSMS572
Remote Control Activity Initiated by a Specific UserSMS571
Remote Control Activity Initiated at a Specific SiteSMS570
Queries Created, Modified, or DeletedSMS569
Programs Created, Modified, or DeletedSMS568
Packages Created, Modified, or DeletedSMS566
Collections Created, Modified, or DeletedSMS557
Collection Member Resources Manually DeletedSMS556
Client Component Configuration ChangesSMS514
All Audit Status Messages for a Specific UserSMS502
All Audit Status Messages from a Specific SiteSMS501
Deployments Created, Modified, or DeletedSMS500
Who Deleted Application from SCCM?
Learn Who Modified App Deployment from ConfigMgr | Deleted | SCCM 2 Who Deleted Application from SCCM - Status Messages Audit Report
Who Deleted Application from SCCM – Status Messages Audit Report

SCCM Audit Reports to Track the Deletion of Applications

Let’s create the SCCM Status Message query to find who deleted the application from SCCM. This is the same method that is been used for SCCM audit reports.

Read More -> Learn Who Modified App Deployment from ConfigMgr | Deleted | SCCM

  • Navigate to \Monitoring\Overview\System Status\Status Message Queries from the SCCM admin console.
  • Right-Click on Status Message Queries node and click on Create Status Message Query.
Who Deleted Application from SCCM Audit Reports to Track 2
Who Deleted Application from SCCM Audit Reports to Track 2

Let’s complete the Create Status Message Query Wizard. The first page is where you need to enter the Name, Description of the custom status message query to find who deleted SCCM Application.

  • Enter Name of the Status Message Query -> Who Deleted the Application from SCCM
  • Enter the description – Let’s find out Who Deleted the Application from SCCM
  • Click on the Edit Query Statement button to continue.
Who Deleted Application from SCCM Audit Reports to Track 3
Who Deleted Application from SCCM Audit Reports to Track 3

Click on the Show Query Language button from the General tab in the new window.

Who Deleted Application from SCCM Audit Reports to Track 4
Who Deleted Application from SCCM Audit Reports to Track 4

You need to copy the following WQL query to Create Custom SCCM Status Message Queries for Task Sequence Engine Status Message. This query prompts you to select the time frame you want to cover.

select SMS_StatusMessage.*, SMS_StatMsgInsStrings.*, SMS_StatMsgAttributes.* from  SMS_StatusMessage left join SMS_StatMsgInsStrings on SMS_StatMsgInsStrings.RecordID = SMS_StatusMessage.RecordID left join SMS_StatMsgAttributes on SMS_StatMsgAttributes.RecordID = SMS_StatusMessage.RecordID where SMS_StatusMessage.MessageID = 30154 and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime DESC
Who Deleted Application from SCCM Audit Reports to Track 6
Who Deleted Application from SCCM Audit Reports to Track 6

Click on the OK button to continue. Click on the Next button from the summary page and the Close button to finish the custom SCCM Status Message Queries for SCCM Application Audit Message tracking.

Who Deleted Application from SCCM?

Let’s check who deleted application from SCCM. The application model in SCCM (ConfigMgr) is based on Configuration Items (CIs), this is how all the components related to the SCCM app model work.

The Configuration Manager application model audit messages also must be tracked based on the deletion and creation of Configuration Items (CIs). However, the same tracking mechanism is used for other workloads as well if those workloads are using CIs.

Examples of the workloads are Software Update Groups, Configuration Items – Baseline, etc. So the SCCM audit messages for all these components are tracked through the same Status message ID. You must segregate the application deletion audit messages using the CI_UniqueID and the Application_ entry in the message.

Read More -> How to get the CI_UniqueID details from SCCM – Insiders Guide SCCM Application Model Troubleshooting.

  • Search for the custom Status Message Query that is created in the above section – I used WHO as the search word.
  • Right-click on the custom status message query – Who Deleted the Application from SCCM.
  • Select the Option Show Messages.
Who Deleted Application from SCCM Audit Reports to Track 7
Who Deleted Application from SCCM Audit Reports to Track 7

Select each name in the prompted value list (in this example it’s only the time) and specify the value before executing the query. Let’s select the TIme prompt value in this scenario and select the date and time. I have selected 6 hours from the drop-down list and clicked on the OK button.

Who Deleted Application from SCCM Audit Reports to Track 8
Who Deleted Application from SCCM Audit Reports to Track 8

Who Deleted Application from SCCM Sample Status message is given below. You can have quick look at this to get a feel of the deletion of the application alert.

Severity Type Site code Date / Time System Component Message-ID Description
Information Audit MEM 5/11/2022 5:53:49 PM CMMEMCM.memcm.com Microsoft.ConfigurationManagement.exe 30154 User “MEMCM\anoop” deleted configuration item “16795506” (CI_UniqueID=ScopeId_1074285A-82C7-474F-B242-1EE20F8C3CE5/Application_46ffae83-a6e2-4350-a4c7-6223b94d010d/8, CIVersion=8).

Who Deleted Application from SCCM Audit Reports to Track 10
Who Deleted Application from SCCM Audit Reports to Track 10

SQL Query to Find Out Who Deleted the Application

Let’s check SQL Query to Find Out Who Deleted Application from SCCM. You need to use the SQL management studio to run the SQL query mentioned below and find the details.

I have added an additional filter called Application in the below SQL query to get the only application-related audit messages. Let me know whether this is useful. If you want you can remove the application filter but that might show Configuration Item deletion alerts as well?

  • Open the SQL Management Studio.
  • Connect your Database Engine.
  • Right Click on your database CM_XXX and click on ‘New Query.’
  • Copy the following SQL query to find the report about Who Deleted Application.
  • Click on the Execute button to run the query and display the results.
/* 'Who deleted the application'*/
select * from vStatusMessagesWithStrings where MessageID = 30154 and InsStrValue3 like '%Application%'
Who Deleted Application from SCCM Audit Reports to Track 11
Who Deleted Application from SCCM Audit Reports to Track 11

Who Created Deployment of Application

You already know Who Deleted Application from SCCM. Let’s use SQL Management studio to understand who Created the Deployment of the Application.

/* Who created a deployment of application*/
select * from vStatusMessagesWithStrings where MessageID = 30226
Who Modified App Deployment from ConfigMgr  2
Who Modified Application Deployment from ConfigMgr – Created App Deployment SCCM 2

Who Modified App Deployment

Use SQL Management studio to understand who Modified the Deployment of the Application. You can get Who Deleted Application from SCCM details from the above section of this post.

/* Who modified the deployment of application*/
select * from vStatusMessagesWithStrings where MessageID = 30227
Who Modified App Deployment from ConfigMgr 1
Who Modified App Deployment from ConfigMgr – Who Deleted Application from SCCM 1

Who Deleted Deployment of Application

Use SQL Management studio to understand who Deleted the Deployment of the Application.

/* 'Who deleted the deployment of application'*/
select * from vStatusMessagesWithStrings where MessageID = 30228
Who Modified App Deployment from ConfigMgr
Who Modified App Deployment from ConfigMgr – Who Deleted Application from SCCM

Video SCCM Audit Messages | Tracking SCCM Admin Audit Activities

Let’s find out the Video SCCM Audit Messages | Tracking SCCM Admin Audit Activities.

Video SCCM Audit Messages | Tracking SCCM Admin Audit Activities Who Deleted Application from SCCM – Status Messages Audit Report!

Author

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 4 comments

  1. Hi folks

    I have a additional question about «Find Out Who Deleted the Application»

    The Query «select * from vStatusMessagesWithStrings where MessageID = 30154 Order by Time DESC» gives me the result «ScopeId_23493C8F-085E-45BF-8C7D-CA6F962A5362/Application_f09d82b6-7e8f-443a-8ce9-4e6210f1127f/7» at the column InsStrValue3.

    How can I find out which application or CI it is?

  2. For existing applications it is understandable. But can this also be applied to deleted applications?

    1. StaffGood point. I don’t know whether there is any straightforward method for deleted apps. You might need to trace back with some logs or something else or DB backup, etc.

Join the discussion

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

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read