Permission to perform this operation was denied.
"Failed to disable replication on source VM
":/common/logs/admin/app.log
2024-10-03 19:38:00.433 UTC [####_SvcThread-42649, Enterprise: HybridityAdmin, Username: HybridityAdmin, TxId: ] ERROR c.v.v.h.a.vcenter.VcConnection- Error Logging onto VCenter:<vCenter-FQDN or IP> User:<username>, message: java.net.UnknownHostException: <vCenter-FQDN or IP>
2024-10-03 20:00:00.121 UTC [VmotionService_SvcThread-1, Ent: HybridityAdmin, , TxId: ######-####-####-####-#######] ERROR c.v.h.s.v.j.StartSourceSideRelocateVmWorkflow- Source side relocate failed for the virtual machine. error is Permission to perform this operation was denied.
com.vmware.vim.binding.vim.fault.NoPermission: Permission to perform this operation was denied.
HCX
The user account used to register the HCX manager with vCenter does not have sufficient privileges to perform migration tasks on the HCX.
admin
via https://<HCX-Manager-ip-or-FQDN>:9443
, and verify vCenter connection status shows online under Dashboard
Tab.https://<HCX-Manager-ip-or-FQDN>:9443
, login as user admin
, Goto --> Configuration Tab --> vCenter Server
The user account found above should have the privileges in the vCenter server described in the documentation here