I am using the azure portal
to try and create a new user
with an ssh key
for a running VM
by clicking on password reset and then entering a new username with a publish ssh.
the descriptions says
Providing a new user name will create a new user account with sudo privileges. Providing an existing user name will reset access credentials for that user account.
Each time I click it shows me the error
Failed to reset the password/ssh key for virtual machine.
without a reason.