When running API calls receiving errors similar to the below.
Error:
"VMware Authentication Failed VMware authentication was NOT successful on host=#.#.#.#, user=domain_alias\username, error message: API: failed to login (Cannot complete login due to an incorrect user name or password.)"
curl -k -X POST https://#.#.#.#/rest/com/vmware/cis/session -u <domain_alias\username:password>
Something happened in the environment to cause the domain Alias to stop working.
Workaround:
curl -k -X POST https://#.#.#.#/rest/com/vmware/cis/session -u <full_domain\username:password>
Issue may be related to KB “Fix AD Domain alias for ADFS via script”. Review for possible permanent fix, to allow using domain Alias if one exists for the environment.