The requested operation could not be executed on VM <vm name>. Stop the VM and try again' when attempting to delete a virtual machineVMware Cloud Director 10.x
This error can occur because the VM is in a powered on state according to the Cloud Director database.
The option to stop or power off the VM may not be available from Cloud Director due to the VM no longer existing at the vSphere level or being in an invalid state.
To resolve this issue, please open a Support Request with Broadcom Technical Support and reference this KB article 325538.
Database modifications may be required to resolve this issue and will require VMware Technical Support assistance.