Hi, Experts,
I am trying to add local user to vCenter (vSphere 7.0 u1) with root user on appliance shell.
However, it always results in an error as below and the created user is disabled state..
How can I check more details of the error to identify the root cause ?
Command> localaccounts.user.add --role operator --username vmanager --password
Enter password:
Reenter password:
Error in executing command: 8002
Command> localaccounts.user.list
Config:
1:
Username: root
Role: superAdmin
Fullname: root
Status: enabled
Passwordstatus: never_expire
Email: ''
2:
Username: sso-user
Role: ''
Fullname: ''
Status: disabled
Passwordstatus: notset
Email: ''
3:
Username: dnsmasq
Role: ''
Fullname: ''
Status: disabled
Passwordstatus: notset
Email: ''
4:
Username: vmanager
Role: admin
Fullname: vmanager
Status: disabled
Passwordstatus: notset
Email: ''
Command>
This error message, we get once already user name is available and trying to create user with same name.
I have the same issue. how to fix that ?
User name which you are going to add , it will be already exist. can you check and try with another user name.
same issue when using another account name