Microsoft.AAD domainServices template reference

Template format

To create a Microsoft.AAD/domainServices resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.AAD/domainServices",
  "apiVersion": "2017-06-01",
  "location": "string",
  "tags": {},
  "properties": {
    "domainName": "string",
    "subnetId": "string",
    "ldapsSettings": {
      "ldaps": "string",
      "pfxCertificate": "string",
      "pfxCertificatePassword": "string",
      "externalAccess": "string"
    },
    "notificationSettings": {
      "notifyGlobalAdmins": "string",
      "notifyDcAdmins": "string",
      "additionalRecipients": [
        "string"
      ]
    },
    "domainSecuritySettings": {
      "ntlmV1": "string",
      "tlsV1": "string",
      "syncNtlmPasswords": "string"
    },
    "filteredSync": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.AAD/domainServices object

Name Type Required Value
name string Yes The name of the domain service.
type enum Yes Microsoft.AAD/domainServices
apiVersion enum Yes 2017-06-01
location string No Resource location
tags object No Resource tags
properties object Yes Domain service properties - DomainServiceProperties object

DomainServiceProperties object

Name Type Required Value
domainName string No The name of the Azure domain that the user would like to deploy Domain Services to.
subnetId string No The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
ldapsSettings object No Secure LDAP Settings - LdapsSettings object
notificationSettings object No Notification Settings - NotificationSettings object
domainSecuritySettings object No DomainSecurity Settings - DomainSecuritySettings object
filteredSync enum No Enabled or Disabled flag to turn on Group-based filtered sync. - Enabled or Disabled

LdapsSettings object

Name Type Required Value
ldaps enum No A flag to determine whether or not Secure LDAP is enabled or disabled. - Enabled or Disabled
pfxCertificate string No The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file.
pfxCertificatePassword string No The password to decrypt the provided Secure LDAP certificate pfx file.
externalAccess enum No A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled. - Enabled or Disabled

NotificationSettings object

Name Type Required Value
notifyGlobalAdmins enum No Should global admins be notified. - Enabled or Disabled
notifyDcAdmins enum No Should domain controller admins be notified. - Enabled or Disabled
additionalRecipients array No The list of additional recipients - string

DomainSecuritySettings object

Name Type Required Value
ntlmV1 enum No A flag to determine whether or not NtlmV1 is enabled or disabled. - Enabled or Disabled
tlsV1 enum No A flag to determine whether or not TlsV1 is enabled or disabled. - Enabled or Disabled
syncNtlmPasswords enum No A flag to determine whether or not SyncNtlmPasswords is enabled or disabled. - Enabled or Disabled

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Managed Azure Active Directory Domain Services

Deploy to Azure
This template deploys an Managed Azure Active Directory Domain Service with required VNet and NSG configurations.