How to Retire Application in SCCM | Delete App

Let’s learn how to retire application in SCCM. When you retire an application, it’s no longer available for deployment. Configuration Manager doesn’t delete the application and any deployments.

If the app was installed on clients, Configuration Manager doesn’t remove the app. Configuration Manager deletes any revisions to the app after 60 days of retirement.

You can’t delete an application if any of the conditions exist. References such as other applications are dependent on it, active deployments and dependent task sequences can affect the ability to delete an application. To delete an application, you must remove all references to it.

Before you delete an application, firstly, you need to retire it, and It’s important to consider the points –

Patch My PC
[sibwp_form id=2]
  • Select the apps from SCCM Console, Rename Application to start with “Retired”
  • Delete all active deployments.
  • Remove references to the application by other deployments
  • Delete all of the application’s revisions.
  • Remove Applications from Distribution Points.
  • Retire the application.
  • Move the application source files from the source directory to a “Retired” directory
  • Moving the application to a “Retired” folder in the SCCM console
  • Delete the application.

You can export the ConfigMgr application (with or without associated content) from SCCM Console or use PowerShell, which helps you to get a list of all associated commands and content based on your selection.

How to Retire Application in SCCM | Delete App

Let’s go through the following steps to delete an application that has dependencies and references –

  • In the Configuration Manager console, go to the Software Library workspace, expand Application Management, and select the Applications node.
  • Select an existing application (For Example Adobe Reader) in the Applications node which you want to delete.
SCCM Console - Select Application | Retire Application in SCCM
SCCM Console – Select Application | Retire Application in SCCM

To delete an application, you must remove all references to it. References such as dependent applications, active deployments, and dependent task sequences can affect deleting an application.

In the details pane, Switch to the Deployment tab. Select the collection, Right-click on deployment, select Delete.

Adaptiva

Note – If you have targeted the application deployment to multiple collections, you have to remove each deployment manually, as shown here.

Deployments tab - Delete Deployment | Retire Application in SCCM
Deployments tab – Delete Deployment | Retire Application in SCCM

A prompt will appear with the message “Delete the selected “Collection” deployment? Click Yes on the window to remove the deployment.

Click Yes to Delete selected deployment -  Retire Application in SCCM
Click Yes to Delete selected deployment – Retire Application in SCCM

Now, it’s time to checklists of SCCM Task Sequences reference applications. An application can be part of many task sequences.

Click on the Task Sequences tab to find out the task sequence details that have the application. Here you can see under the Task Sequences tab, The selected application (For Example, Adobe Reader) is part of all appeared lists of the task sequences.

Important – Disable or remove the application from referenced Task Sequence. Otherwise, you may encounter an error indicating the application package is missing.

This task sequences tab lists the task sequences that reference specific applications. I have seen this useful for SCCM admin when you know which Task Sequence references specific applications.

Applications task sequences dependencies - Retire Application in SCCM
Applications task sequences dependencies – Retire Application in SCCM

To view the referenced application. Right-click on the application and select Properties. Switch to the References tab to see the dependent applications.

Remove the dependent application. After deleting all revisions with the dependency, the Number of dependent applications will show 0. You will be ready to retire an app.

Applications References - Retire Application in SCCM
Applications References – Retire Application in SCCM

Right-click on the application and select Retire.

Important⚠️ You may get a warning message “Configuration Manager cannot delete this application because other applications or task sequences reference it, or it is configured as deployment” If you haven’t removed the application from associated groups, In that case, review the status and take action.

Select Retire - Retire Application in SCCM
Select Retire – Retire Application in SCCM

Once you have retired an application, you can see the Status column showing the status Retired for the selected application.

Note – If you cannot see the Status column on the Application details page. To add the Status column, Right-click on a column detail name and Select the Status column.

Application Status - Retired | Retire Application in SCCM
Application Status – Retired | Retire Application in SCCM

Once you have removed the deployment task sequence reference, right-click on the application and select Delete.

Right Click on Application, Select Delete - Delete Application in SCCM
Right Click on Application, Select Delete – Delete Application in SCCM

A prompt will appear with the message “Are you sure you want to permanently delete the selected application from Configuration Manager?” Select Yes to confirm

Click Yes to confirm your selection - Delete Application in SCCM
Click Yes to confirm your selection – Delete Application in SCCM

Reinstate Application

If you previously retired an application, you can use this action to reinstate it. When you reinstate a retired app, you can then deploy it again.

In the Configuration Manager console, go to the Software Library workspace, expand Application Management, and select the Applications node.

Select the application you had retired and wanted to make available for deployment. If already retired, then you can right-click the application and choose Reinstate.

Click Reinstate - Reinstate SCCM Application
Click Reinstate – Reinstate SCCM Application

Here you can see the Status property showing Active.

Application Status Active - Retire Application in SCCM
Application Status Active – Retire Application in SCCM

Author

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.