Migration or test failover tasks in VMware Cloud Director Availability (VCDA) fail during the cleanup phase. This issue is specific to environments running on Azure VMware Solution (AVS).
Could not cleanup test failover.cloud.log on the destination Replication Manager contains the following error: com.vmware.vim.binding.vmodl.fault.NoPermission: privilegeId = Global.DisableMethods on object AuthorizationManager.Azure VMware Solution (AVS) enforces strict security policies on vCenter Server permissions. The service account used by VMware Cloud Director to interact with vCenter is not granted the Global.DisableMethods and Global.EnableMethods privileges. These privileges are required for the lifecycle management of Real-Time (RT) VMs. When VCDA attempts to cleanup these shadow objects, the permission denial from vCenter causes the task to fail.
To resolve this issue, ensure that VCDA was deployed using the AVS Run commands to configure the correct permissions in the environment.
VMware Cloud Director Availability in Azure VMware Solution
VMware Cloud Director Availability Run command glossary : Initialize-AVSSite
To workaround this issue, disable the Replication Tracking (RT) VM feature. This forces VCDA to use the Independent Disk placement solution, which does not require the restricted vCenter methods.
cp /opt/vmware/h4/cloud/config/application.properties /opt/vmware/h4/cloud/config/application.properties.backupapplication.properties file: vi /opt/vmware/h4/cloud/config/application.propertiesvcd.rt.vms=falsesystemctl restart cloud.serviceNote: Disabling RT VMs is a permanent requirement for AVS environments where these specific Global permissions cannot be assigned to the VCD service account.