Steps to identify Virtual Machines, templates, VMkernel adapters, or other objects configured to a Distributed Port Group before attempting deletion in the vSphere Client.
VMware ESXi 8.x
To ensure a Distributed Port Group can be deleted without errors, verify that no objects retain a configuration binding using the following steps:
Note:
If any objects are still listed, you must reassign their network settings to a different port group or remove the adapter before the port group can be deleted.
For more details,see the following information: