Unable to delete the computer account from AD or the virtual machine from the Hypervisor when attempting to delete a machine from Citrix Studio. When running a CDF trace, the following entries may be observed:
“MachineCreationServiceHCL:2:1:Dequeued task RunTask-fd20d8f6-9d0a-4206-a817-c40706160b47, current queue length=0, high priority=0, no-op=0","" "MachineCreationServiceHCL:2:1:HCL-VMware: VmwareVmManager:DeleteVM - entered","" “MachineCreationServiceHCL:2:1:HCL-VMware: vmID: 4230e0a9-8323-ca6b-78af-da48a3d97b43","" "MachineCreationServiceHCL:1:1:VMwareRunQueue-0 - caught exception System.Web.Services.Protocols.SoapException: Permission to perform this operation was denied. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at VimApi.VimService.RevertToSnapshot_Task(ManagedObjectReference _this, ManagedObjectReference host, Boolean suppressPowerOn, Boolean suppressPowerOnSpecified) at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.RevertVmToBaseSnapshot(ManagedObjectReference vmRef, ManagedObjectReference baseSnapshot) at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.DeleteVM(String vmID, Int32 baseDiskIndex) at HypervisorsCommon.HCL.TaskRunner`1.Run()",""
Validate that the vSphere permissions are properly configured. See Citrix eDocs - VMware and virtual machine management.
If the behavior persists, engage VMware to investigate vSphere failures.
This error can occur because of improperly configured permissions for the vSphere user account that is tied to the XenDesktop Host Connection.