In SCCM, you try to delete a deployment type and you receive the following error : sccm deployment type cannot be deleted. To delete this deployment type the following references must be deleted.
An application has one or more deployment types. These deployment types include the installation files and information that are required to install software on devices. A deployment type also has rules, such as detection methods, and requirements. These rules specify when and how the client installs the software.
You want to delete the referring object, you can’t find it because you have previously deleted it.
Keep calm and do not cry… This can be resolve easily.
The problem is that you created a deployment type, refer in another DT and then delete it. SCCM keeps a history of all changes in applications. Yes, each time you make a modification, SCCM records the change so that you can revert your changes if needed. This is a nice feature but since an object in the history refer to your deleted object, you can’t delete your deployment type.
The solution is to delete those historical object by right clicking your application and choose “Revision History”
Delete all revisions that are referred in the first error (in my case revision 3,4,5,6,7 and 8 needs to be deleted) by using the “Delete” button.
Once complete, go back to your DT and delete it.
Voila ! Christmas magic before time.
BONUS : You can set the setting for Application revision in Delete unused application revision site maintenance task.
Founder of System Center Dudes. Based in Montreal, Canada, Senior Microsoft SCCM Consultant, 5 times Enterprise Mobility MVP. Working in the industry since 1999. His specialization is designing, deploying and configuring SCCM, mass deployment of Windows operating systems, Office 365 and Intunes deployments.