French guy building Cloud Native Apps on Azure.
Nantes, France

Create an ARM template for a domain joined virtual machine

Recently, I have been asked to provide an easy way to create preconfigured virtual machines on Azure (meaning using the portal, and without PowerShell) with predefined settings (VM size, disks, network,…), and also, automatically joined to a domain. For this exercise, I will assume we already have a Virtual Network created, with one subnet or more, and with a Virtual Machine acting as a Domain Controller and a DNS Server.