"AD domain, organizational unit, and username can not be changed after they have been configured"VMware vSAN 8.x
To change AD credentials on vSAN 8.x File Services, it is necessary to
1) edit the File Services configuration to remove the existing credentials
2) edit the File Services configuration to add the new credentials
Note: this is supported only where there are no vSAN File Services Shares.
See:
Supported re-configurations of vSAN File Service Domain
Edit vSAN File Service
Note:
If vSAN File Services have been disabled and the old AD credentials are no longer valid, re-enabling Fileservices with new AD credentials will fail the same error ("AD domain, organizational unit, and username can not be changed after they have been configured").
To workaround this issue, first, enable File Services with no AD credentials specified. Subsequently, edit the File Services configuration to specify the new AD credentials.