During migration of all networking components from a Virtual Standard Switch (VSS) to a vSphere Distributed Switch (VDS), the task fails and rolls back to the original configuration.
This occurs when the vCenter Server Appliance (VCSA) and the ESXi Management VMkernel (vmk0) are moved simultaneously.
The error - 'Moving ESXi Host and vCenter Networking from Virtual Standard Switch to Virtual Distributed Switch Fails with Error "The specified key, name, or identifier already exists, the host is already a member of VDS infrastructure.' when the network migrtaion activity fails.
VMware ESXi
When the vCenter Server VM and the ESXi management VMkernel interface (vmk0) are migrated from a Virtual Standard Switch (VSS) to a Distributed Virtual Switch (VDS) simultaneously, a brief network state transition occurs during the operation.
Since the VDS configuration is managed through vCenter, this temporary interruption disrupts the SSL handshake and heartbeat communication between vCenter and the ESXi host. As a result, vCenter is unable to validate the successful application of the updated network configuration.
To avoid potential host isolation, the migration process automatically triggers a network rollback, reverting the configuration back to the VSS.