Invalid virtual machine configuration. Cannot configure the virtual machine encryption to use keys from different types of key providers. Retry the configuration using the key provider type currently used by the virtual machine
VMware Cloud Director 10.6.1.2
When an encypted named disk is first created, a shell VM is provisioned using the corresponding key from the Key Provider configured in VCD. When that named disk is attached to an encrypted VM, the shell VM is deleted.
However, upon detaching the named disk from the encrypted VM, the shell VM is recreated. During this specific detachment workflow, VCD fails to set the respective key from the Key Provider from VCD and the shell VM is created using the default Key Provider set on the vCenter instead.
This is a known issue affecting VMware Cloud Director 10.6.x.
Currently, there is no resolution.
Subscribe to this knowledge article to get updates on this issue.