Azure Basics – Reset password for a Linux VM

Reset password or create a new user account in Azure for a Linux VM –

There are situations when we can’t connect to a Linux VM in azure due to the SSH key not working or forgot the root/admin password.
To resolve these kinds of issues, from the Azure portal we can reset the password for that VM (this uses an elevated approach using VMaccessforLinux Extension)

Below screenshots provides the way to accomplish this task

Click on the VM
Click on – Reset password (check in Support + troubleshooting section of pane)
Select – Reset password & provide the required details then click on Update
New account is created successfully
Scroll to Top