Remote Console access to Virtual Machine through vCenter UI for User/Group will fail with a similar error to below when encryption is enabled in the environment and insufficient privileges are assigned:
Unable to connect to the Virtual Machine web console: Permission to perform this operation was denied.
In /var/log/vmware/vpxd/vpxd.lo may see entries similar to below:
[YYYY-MM-DDTHH:MM:SS] error vpxd[06788] [Originator@6876 sub=Default opID=<OP ID>] [VpxLRO] -- ERROR lro-####-- <Session ID>(#################) -- vm-<VM ID>--
vim.VirtualMachine.acquireTicket: :vim.fault.NoPermission
--> Result:
--> (vim.fault.NoPermission) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> object = 'vim.VirtualMachine:#######################:vm-<VM ID>',
--> privilegeId = "Cryptographer.Access",
--> missingPrivileges = (vim.fault.NoPermission.EntityPrivileges) [
--> (vim.fault.NoPermission.EntityPrivileges) {
--> entity = 'vim.VirtualMachine:#####################:vm-<VM ID>',
--> privilegeIds = (string) [
--> "Cryptographer.Access"
--> ]
--> }
--> ]
--> msg = ""
--> }
--> Args:
-->
--> Arg ticketType:
--> "webmks"
[YYYY-MM-DDTHH:MM:SS] info vpxd[06784] [Originator@6876 sub=vpxLro opID=<OP ID>] [VpxLRO] -- BEGIN lro-205171 -- vm-<VM ID> -- vim.VirtualMachine.acquireTicket -- <Session ID>(
###################)
[YYYY-MM-DDTHH:MM:SS] warning vpxd[06784] [Originator@6876 sub=CryptoManager opID=<OP ID>] The session <ID> of user VSPHERE.LOCAL\xxx does not have privilege Cryptographer.
Access on entity [vim.VirtualMachine:vm-<VM ID>,VM-NAME
VMware vCenter Server 7.0
VMware vCenter Server 8.0
Missing "Direct Access" Privilege within Cryptographic operations for User/Group when Encryption is enabled or if a vTPM module is attached to a virtual machine.
Please ensure to apply required privileges to the role attached to a User/Group when Encryption is enabled in the environment.
For more information on this privilege, please see the following documentation: Cryptographic Operations Privileges