Removal of Distributed Virtual Switch (DVS) from vCenter server not allowed as there is at least one ESXi host connected to that DVS" is observed while decommissioning the host cluster from SDDC manager as vSphere Distributed Switch (VDS) removal failed.Note: The Mobility Agent host is required. Deleting this host can disrupt HCX Cold, vMotion, and Replication Assisted vMotion (RAV) migrations.
VMware HCX
VMware vCenter Server
Mobility agent host was referencing this VDS. This is expected behavior, if cluster decommission is attempted before disabling it from the HCX service mesh.
Please follow the below steps to gracefully remove Mobility agent host.
If the above steps, still don't help - user can recover from the error by removing the Mobility agent host from vCenter VDS.
If Fleet appliances were part of the decommissioned cluster and got moved to another cluster, please refer Migrating HCX Fleet appliances to a different cluster
Refer this to know about Mobility Agent host.