I recently installed for test purposes Global Service monitoring management packs. After testing I started removing it, but System Center Global Service Monitor Core Library MP gave me the message that another MP is dependant on it. In this case MP in title of this post. It usually happens when this MP create some new Run as profiles in SCOM. After internet search I found a solution, but I decided to make my post because i could not get the result from that post. After a while i figure it out. So lets begin:
First go into Operations management shell: Write this $MP = Get-SCOMManagementpack -Name Microsoft.SystemCenter.SecureReferenceOverride. It will make variable that point to our MP. After that list references with this: $MP.References. It will show all MP it depend upon.
Detect Key of your MP you can not delete. Type this: $MP.References.Remove(“yourMPKey“). You should get True if it is deleted. after that do check up of MP with $MP.Verify() command to make sure there is no orphaned values. If everything is OK you should save changes with $MP.AcceptChanges()
Try now to delete System Center Global Service Monitor Core Library and you will succeed.