Microsoft.Aad domainServices/ouContainer

Template format

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

  "name": "string",
  "type": "Microsoft.Aad/domainServices/ouContainer",
  "apiVersion": "2021-03-01",
  "accountName": "string",
  "spn": "string",
  "password": "string"

Property values

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

Microsoft.Aad/domainServices/ouContainer object


In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the OuContainer.
type enum Yes For JSON -ouContainer

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2021-03-01
accountName string No The account name
spn string No The account spn
password string No The account password