The Azure Quickstart templates are currently available in English

Create an Azure VM with a new AD Forest

Sidst opdateret: 09-10-2020

This template creates a new Azure VM, it configures the VM to be an AD DC for a new forest

Denne ARM-skabelon (Azure Resource Manager) blev oprettet af et medlem af communityet og ikke af Microsoft. Hver ARM-skabelon er givet i licens til dig under en licensaftale med ejeren af skabelonen og ikke med Microsoft. Microsoft kan ikke gøres ansvarlig for de ARM-skabeloner, der leveres og gives i licens af communitymedlemmer, og vi undersøger dem ikke for sikkerhed, kompatibilitet eller ydeevne. ARM-skabeloner fra communytiet understøttes ikke af noget eller nogen Microsoft-supportprogram eller -tjeneste, og de stilles til rådighed, SOM DE ER, uden nogen former for garanti.

Parametre

Parameternavn Beskrivelse
adminUsername The name of the administrator account of the new VM and domain
adminPassword The password for the administrator account of the new VM and domain
domainName The FQDN of the Active Directory Domain to be created
dnsPrefix The DNS prefix for the public IP address used by the Load Balancer
vmSize Size of the VM for the controller
_artifactsLocation The location of resources, such as templates and DSC modules, that the template depends on
_artifactsLocationSasToken Auto-generated token to access _artifactsLocation. Leave it blank unless you need to provide your own value.
location Location for all resources.
virtualMachineName Virtual machine name.
virtualNetworkAddressRange Virtual network address range.
virtualNetworkName The name of the virtualNetwork.
subnetName The name of the subnet.
privateIPAddress Private IP address.
subnetRange Subnet IP range.

Brug skabelonen

PowerShell

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 https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/modules/active-directory-new-domain/0.9/azuredeploy.json
Installér og konfigurer Azure PowerShell

Kommandolinje

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 https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/modules/active-directory-new-domain/0.9/azuredeploy.json
Installér og konfigurer Azure-kommandolinjegrænsefladen til flere platforme