Service Account showing disconnected in SDDC Manager on 12/31/69:
VMware Cloud Foundation 9.x
Issue is cosmetic with vCenter reporting incorrect password validity.
psql -h localhost -U postgres \c operationsmanagerselect * from passwordmanager.credential_expiry where resource_type='VCENTER';
-----------------------------------------------------------------------------------------------
id | <id>
credential_id | <cred_id>
resource_fqdn | <vCenterFQDN>
username | <svcAccountUsername>
expiry_date | 1970-01-01 01:00:20.233077
2. Change the expiry on the Account:
/usr/lib/vmware-vmafd/bin/dir-cli user modify --account svcAccountUsername --password-never-expiressvcAccountUsername do not include the domain name (ie. @vsphere.local).After modifying the password to never expire from vCenter using dir-cli, if the expiry date on the SDDC UI still reflects 1970-01-01, run the below commands to update the credential_expiry table from the database.
Note: Take a snapshot of the SDDC manager VM before you perform the update. The expiry_date value is taken as a reference from another resource type.
psql -U postgres -h localhost
\c operationsmanager
update passwordmanager.credential_expiry set expiry_date='2299-01-01 01:00:20.233077' where id='<id>';