This article provides steps to resolve a 'Virtual Machine Locked' alarm and an Invalid VM state following migration to a vCenter Server with a different Key Provider.
Symptoms:
Environment:
This happens when the system doesn't have the Key Provider that originally encrypted the VM.
Typically, it happens in the below situation.
vCenter Server need to have the same Key Provider that originally used to encrypt the VM.
If using Native Key Provider, the below procedure is required to unlock the VM.
https://#####/ui/app/vm;nav=h/urn:vmomi:VirtualMachine:vm-25:########/summaryIf using an external Key Provider, register the same Key Provider to vCenter Server B in place of 1.~4. procedure.