Uninstalling Connection Center
Hopefully you won’t need to uninstall Connection Center, but on the off chance you do, this page has you covered.
Removing Dependent management packs
Firstly you’ll need to remove any dependent management packs. These are usually just management packs with configuration in them.
The easiest way to do this is to just try and remove Connection Center which will get you a list.
Personally, I prefer to do this bit in PowerShell, as the inner exception gives you a list that you can manipulate easily:
A quick copy and paste, or some RegEx voodoo and you’ve got yourself a list that you can just feed back into PowerShell or work your way through in the UI.
Remove each of the management packs other than the SecureReferenceOverride Management pack (which we deal with in the next step).
Removing RunAs configuration and secure references
Next, you’ll need to remove the association of any Run As account with a Run As profile. So far I’ve only managed this through the UI. Check each cooldown Run As profile and remove any associations with a Run As account. You may also want to remove the Run As accounts at this stage, but this isn’t required.
Next, you need to remove the reference from the Secure Reference Management Pack to Connection Center.
There are multiple ways of doing this. Usually, it comes down to exporting the file, removing the reference from the XML, and re-importing it. I tend to favor doing this with PowerShell.
If you get an exception at the verify step. Stop and deal with the issue.
You’ve probably missed a Run As Profile. Abort and start again.
Removing Connection Center
Finally, you can just remove the Connection Center MP as normal.
Further Reading and Next Steps
Hopefully, you’ll want to go back to Install Connection Center, hint hint, nudge nudge.
Otherwise Matthew Long has a great write-up of removing secure references using PowerShell here.