Having problems logging into your Microsoft Azure VM after creation?

Having setup a number of Virtual Machines (VM’s) on Azure you get the occasional one where you are adamant you entered the right password but when you remote desktop (RDP), it refuses you to login.  There are two simple ways you can try to gain access to your VM.

Option 1: Reset your VM password via the Azure Portal (https://portal.azure.com)

  • All VM’s must live inside a Resource Group (RG).  Select the RG where the problematic VM lives
  • Click on “All Settings” -> “Reset Password”
  • Try accessing your VM again

 

Option 2: Try redeploying your VM, which will migrate it to a new Azure host.

  • All VM’s must live inside a Resource Group (RG).  Select the RG where the problematic VM lives
  • Click on “All Settings” -> “Redeploy”
  • Select “Redeploy” at the bottom right corner
  • Try accessing your VM again

Redeploy-on-Azure