Symptoms:
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
VM with soft affinity rule cannot be migrated to another ESXi because resource check for evacuating VM failed due to 2-node vSphere HA cluster. By doing this the ESXi can't be put into maintenance mode automatically by Proactive HA.
This behavior is per design, because if one host is placed into maintenance mode there would only be one host left and therefore HA wouldn't be able to perform a failover for VMs.
Currently, there is no resolution.
Workaround:
Add one extra host into the cluster(Must be 3 or more nodes).