After applying desired state changes to your NSX Distributed Port Group settings, you might see vCenter reporting that vSAN is "not configured" or turned off.
VMware vSAN 9.x
Updating NSX DPG switch settings can trigger a management-level desynchronization. vCenter essentially loses track of the vSAN configuration state, even though the storage layer at the host level is working perfectly.
You need to force vCenter to re-read the state from the hosts.
This forces vCenter to reach out to the hosts, see the existing configuration, and stop reporting the error.