RDS farm deployment using existing active directory

Last updated: 10/9/2020

This template creates a RDS farm deployment using existing active directory in same resource group

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

Parameters

Parameter Name Description
dnsLabelPrefix Unique public DNS prefix for the deployment. The fqdn will look something like '<dnsname>.westus.cloudapp.azure.com'. Up to 62 chars, digits or dashes, lowercase, should start with a letter: must conform to '^[a-z][a-z0-9-]{1,61}[a-z0-9]$'. For example johndns1 will result the final RDWEB access url like https://johndns1.westus.cloudapp.azure.com/RDWeb
adDomainName The name of the AD domain. For example contoso.com
adVnetName The vnet name of AD domain. For example johnvnet1
adVnetRG The Resource Group containing the existing Virtual Network resource
adVnetSubscriptionId The subscription containing the existing Virtual Network resource
adSubnetName The subnet name of AD domain
dnsServerPrivateIp The private IP address of the ad dns server
adminUsername The name of the administrator of the new VM and the domain. Exclusion list: 'administrator'. For example johnadmin
adminPassword The password for the administrator account of the new VM and the domain
imageSKU Windows server SKU
numberOfRdshInstances Number of RemoteDesktopSessionHosts
rdshVmSize The size of the RDSH VMs
location Location for all resources.
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.

Use the template

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/rds-deployment-existing-ad/azuredeploy.json
Install and configure 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 https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/rds-deployment-existing-ad/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface

More templates by MahendraAgrawal