Skip to the content.

Access Methods

Azure PowerShell
Azure CLI
Azure CloudShell - Direct access links:

Resetting VM Passwords

https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/reset-rdp#reset-the-local-administrator-account-password - Reset Password using Azure Portal
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/reset-rdp#reset-the-local-administrator-account-password-1 - Reset Password using Azure PowerShell
https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/reset-password - Reset Linux Password using Azure CLI or Azure Cloudshell

Updating or Adding SSH Keys

https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/troubleshoot-ssh-connection#use-the-azure-portal - reset or change an existing SSH key
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-linux#update-ssh-key - setup a ssh key

DNS Settings

Set DNS Servers via Azure Nic interface Refresh on system via sudo netplan try

Set DNS Domain via Netplan on box: (https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/custom-dns-configuration-for-azure-linux-vms?tabs=Ubuntu)

Don’t worry too much about reddog: (https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances?tabs=ubuntu)

Multiple IP Addresses on Azure vms

https://learn.microsoft.com/en-au/azure/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal

Static Mac Address on Nic in Azure

Must be on 2nd non-primary Nic

Understanding static MAC address licensing in Azure

First Time Setup

  1. Add a 2nd Nic that isn’t the primary nic to your VM
  2. Connect it up
  3. Document MAC Address
  4. Disable your first nic.
  5. Apply preferred IP Address to 2nd nic
  6. Put an azure resource lock on 2nd nic but not end of world if it gets deleted.

Using on 2nd machine

  1. Add a 2nd Nic that isn’t the primary nic to your VM
  2. Connect it up
  3. Document MAC Address
  4. Disable your first nic.
  5. Apply preferred IP Address to 2nd nic
  6. Put an azure resource lock on 2nd nic but not end of world if it gets deleted.
  7. Go to devicemanager and hard code the mac address you want on the 2nd nic

Or something like Set-NetAdapterAdvancedProperty -Name 'Private Team' -DisplayName 'MAC Address' -DisplayValue '00-00-00-00-00-00'