IMPORTANT ANNOUNCEMENT FOR OUR READERS!
AskPFEPlat is in the process of a transformation to the new Core Infrastructure and Security TechCommunity, and will be moving by the end of March 2019 to our new home at https://aka.ms/CISTechComm (hosted at https://techcommunity.microsoft.com). Please bear with us while we are still under construction!
We will continue bringing you the same great content, from the same great contributors, on our new platform. Until then, you can access our new content on either https://aka.ms/askpfeplat as you do today, or at our new site https://aka.ms/CISTechComm. Please feel free to update your bookmarks accordingly!
Why are we doing this? Simple really; we are looking to expand our team internally in order to provide you even more great content, as well as take on a more proactive role in the future with our readers (more to come on that later)! Since our team encompasses many more roles than Premier Field Engineers these days, we felt it was also time we reflected that initial expansion.
If you have never visited the TechCommunity site, it can be found at https://techcommunity.microsoft.com. On the TechCommunity site, you will find numerous technical communities across many topics, which include discussion areas, along with blog content.
NOTE: In addition to the AskPFEPlat-to-Core Infrastructure and Security transformation, Premier Field Engineers from all technology areas will be working together to expand the TechCommunity site even further, joining together in the technology agnostic Premier Field Engineering TechCommunity (along with Core Infrastructure and Security), which can be found at https://aka.ms/PFETechComm!
As always, thank you for continuing to read the Core Infrastructure and Security (AskPFEPlat) blog, and we look forward to providing you more great content well into the future!
Hi there, this is JJ Streicher-Bremer, saying hello from Azureland.
When one creates a virtual machine in the Azure portal a username and password are required. This username and password are used by the Azure fabric to configure the local administrator account on that virtual machine.
I don’t know about you, but sometimes my memory fails me and I forget the username/password I set on my Azure virtual machines. If this is a “classic” virtual machine, the portal provides a nice UI that allows us to reset this username and password.
However for ARM (Azure Resource Manager) Virtual Machines we are presented with this screen:
What is even more frustrating is that the Azure documentation tells us how to reset the admin username and password for classic VMs, but not ARM (Azure Resource Manager) deployed VMs.
The good news is that we _can_ reset the username and password of Azure VMs deployed in ARM with the set-azurermvmextension command. https://msdn.microsoft.com/en-us/library/mt619447.aspx
Unfortunately the MSDN document page doesn’t give an example, so I wanted to provide one here:
If successful you should see something like this:
Go ahead and log into your Azure ARM VM with the reset admin account and password you set.
Have fun and enjoy Azure!