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