dir-cli password reset fails with ERROR_NO_SUCH_USER (1317) like following:
sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli password reset --account [email protected] --login [email protected]
Enter password for [email protected]:
Enter new password for [[email protected]]:
dir-cli failed. Error 1317: Operation failed with error ERROR_NO_SUCH_USER (1317)
Although both accounts exist.
sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account test01
Enter password for [email protected]:
Account: test01
UPN: [email protected]
sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account test02
Enter password for [email protected]:
Account: test02
UPN: [email protected]
vSphere 8.0
The cause is that the user specified in --login option(test01 in the example above) is not an administrator.
Please specify administrator (administrator@<your SSO domain>) when performing the account reset.