Create Configuration Manager Tech Preview Lab in Azure

Last updated: 09/05/2019

This template creates a new System Center Configuration Manager Technical Preview Lab environment. It creates 3 new Azure VMs, configuring a new AD Domain Controller for a new Domain, SQL Server for site database, a standalone primary site and a remote site system server with Management Point and Distribution Point roles. The VM size used in these templates are B series (B2s and B2ms). They use premium disks which would incur costs even when they are off. However you can change the disk configuration of VM in Azure portal. Note: This ConfigMgr/SCCM template is to be used for Lab purpose only.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.


Parameter Name Description
prefix The prefix name of machines. The machine names will be {prefix}DC, {prefix}PS1 and {prefix}MPDP.
adminUsername The name of the administrator account of the new VM.
adminPassword Input must meet password complexity requirements as documented for property 'adminPassword' in
_artifactsLocation The base URI where artifacts required by this template are located including a trailing '/'
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. Use the defaultValue if the staging location is not secured.
location Location for all resources.

Use the template


New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri
Installing and configuring Azure PowerShell

Command line

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri
Installing and configuring the Azure cross-platform command-line interface