"Permission to perform this operation was denied."
VMware ESXi 6.x
VMware ESXi 7.x
VMware ESXi 8.x
Lockdown Mode (Normal or Strict) was enabled on the ESXi host, restricting direct authentication to local management interfaces (Host Client, SSH, and PowerCLI) and enforcing management solely through vCenter Server.
Option 1: Disable Lockdown Mode via vCenter Server (Recommended)
If the host is managed and connected to vCenter:
Option 2: Disable Lockdown Mode via DCUI (Normal Lockdown Mode)
If direct connection to vCenter is lost but DCUI is accessible:
Option 3: Recovering from Strict Lockdown Mode
If Strict Lockdown Mode was enabled and the host lost connection to vCenter: