This error indicates that you are attempting to remove a host from the inventory that is connect to a vNetwork Distributed Switch (vDS). When the host is connected to a vDS, it cannot be removed from the inventory.
Ensure that the host is no longer connected to the vDS, then remove the host.
To ensure that the host is no longer connected to the vDS: