/azure-multivm-domainjoin

Highly flexible template to deploy and domain join a number of VMs using a custom or marketplace image.

Azure Multi-VM and Domain Join Template

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

This template creates n number of VMs with suffixed names and optionally joins them to a domain.

Parameter Name What it does Default
location Azure Region for deployment Defaults to location of Resource Group
virtualMachineName VM root name. Will automatically be suffixed. Defaults to vm- plus the name of the resource group.
vmSize Azure VM size Standard_D2s_v3
adminUsername Local Admin username localadmin
numberOfInstances How many VMs to deploy 2
startNumberingAt Start numbering VMs from here 1
suffixLength Number of digits to append to vmname (NOTE: VM names must be less than 15 characters) 2
OS OS Platform for the VM Windows
customImageName Name of custom image. Leave blank for generic platform images blank
authenticationType Type of authentication to use on the Virtual Machine password
adminPasswordOrKey Local Admin password for the VMs password1!
joinDomain The FQDN of the AD domain to join. Set to 'no' to disable no
ouPath The OU for the domain computer account. OU=testOU; DC=domain; DC=Domain; DC=com
domainUsername Username of the account used to join the domain domainadmin
domainPassword Password of the account used to join the domain domainpassword1!
virtualNetworkName Vnet name. Defaults to vn- plus the name of the resource group.
addressSpace CIDR block for the vnet and subnet. 10.10.10.0/24

Deploy To Azure
Visualize


services: arm


Tags: vms, domainjoin, template, arm, extension