When using Citrix or other third-party software, such as Jenkins API to deploy VM, it shows error: Permission to perform this operation was denied. You do not hold privileges "virtual machine vm-xxxx : [Cryptographic operations > Encrypt]".
vSphere vCenter Server 8.x
The account used during virtual machine deployment lacks corresponding permissions.
Find the role corresponding to the account and add permissions to the role: "Cryptographic operations > Encrypt"