On some/all ESXi hosts, the "Network Adapters" and "VLAN" options in the DCUI may appear greyed out or disabled, preventing configuration changes.
vCenter Server
vSphere ESXi
vSphere Distributed Switch (VDS)
Since a vSphere Distributed Switch (VDS) is managed at the vCenter level, it cannot be configured directly from the ESXi host. As a result, the related options in the DCUI are greyed out by design.
This is expected behavior. When an ESXi host is using a vSphere Distributed Switch (VDS), network settings must be managed from vCenter.
For information on the automatic rollback and recovery feature in vSphere 7.0 and later, refer to the KB article Understanding network rollback and recovery in vSphere 7.0 and later