Azure VM - failed to change password

tali rights 1 Reputation point
2020-11-15T12:20:46.45+00:00

Hi,
We have a VM and want to change the password used when accessing it through remote desktop.
In the azure portal I clicked "change password" then entered our username and a new password and clicked "save".
After 15 minutes of "Running..." I got back an error. This is the info I see in the log:
Operation name: Add Virtual Machine Extension
Error code: ResourceDeploymentFailure
Message: The resource operation completed with terminal provisioning state 'Failed'.

This error is in the "Add virtual machine extension" operation row in the "Create deployment" section in the activity log.

Any help would be appreciated.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,992 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Andreas Baumgarten 111.3K Reputation points MVP
    2020-11-15T15:37:08.263+00:00

    If you have another VM maybe this will work for you:

    https://dzone.com/articles/regaining-access-to-azure-vms-with-expired-passwords

    The second option is to contact Azure Support.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments

  2. Andreas Baumgarten 111.3K Reputation points MVP
    2020-11-15T14:28:06.08+00:00

    You forgot the password of the user? Or do you just want to change the password of the user?

    If you just want to change the password of the user you can do this via Computer Management or if the VM is domain joined via AD.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  3. tali rights 1 Reputation point
    2020-11-15T14:51:55.347+00:00

    Hi,
    I just want to change the password.
    I unchecked "password never expires" in the computer management thinking next time I will logon it will ask me to change...
    But now it just prompts me that I can not login because I have to change the password.
    Tried resetting the password again from the portal but that still doesn't work.
    So now I'm unable to even login to the server.
    Any advice on how to at least gain access to the server?

    0 comments No comments

  4. FJcmdk4488 56 Reputation points
    2020-11-18T17:54:48.77+00:00

    If the Azure VM access extension doesn't respond and you're unable to reset the password, you can reset the local Windows password offline. This method is more advanced and requires you to connect the virtual hard disk of the problematic VM to another VM. Follow the steps documented in this article first, and attempt the offline password reset method only if those steps don't work.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.