Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Whats my Azure VM administrator user name

Tags:

azure

My laptop is not working, so I'm trying to create an rdp connection to my azure VM on another computer. I do remember the password but not the username. Where can I find it?

like image 762
Shlo Avatar asked Sep 09 '14 08:09

Shlo


People also ask

How do I find my Azure host name?

You can download the service configuration file for a deployed service from the Configure blade of the service in the Azure portal. You can then look for the vmName attribute for the Role name element to see the host name. Keep in mind that this host name is used as a base for the host name of each role instance.

How do I find my VM details on Azure?

The Get-AzureVM cmdlet retrieves information about virtual machines running in Azure. It returns an object with information on a specific virtual machine, or if no virtual machine is specified, for all the virtual machines in the specified service of the current subscription.


1 Answers

[Update] - [26 March 2020] Now with updated Azure screens and view, we do not have option to retrieve Azure VM username from portal but there is a workaround.

  • Go to "Reset Password" on the left pane of your Azure portal window for your VM. Now add username and password and update. With this new username and password, you can login to VM machine and find your old/original username.

[OLD ANSWER - Not Valid Now]: While troubleshooting I tried to find the newly created VM's username with below steps, I hope this will help someone.

1) Go to "Virtual Machines" section on your Azure portal.

2) Select your newly created Virtual Machine name.

3) Click on the "Connect" link just next to the "Start" in the selection bar.

4) There will be a new blade opened for you on the right, with two tabs "RDP" and "SSH".

5) Select the "SSH", there next to the "Login using your VM local account" you find ssh yourusername@"VM's IP address".

you can use yourusername to login to the machine with required password.

like image 150
ironman Avatar answered Sep 17 '22 23:09

ironman