Resource: azuread_administrative_unit

Manages an Administrative Unit within Azure Active Directory.

API Permissions

The following API permissions are required in order to use this resource.

When authenticated with a service principal, this resource requires one of the following application roles: AdministrativeUnit.ReadWrite.All or Directory.ReadWrite.All

When authenticated with a user principal, this resource requires one of the following directory roles: Privileged Role Administrator or Global Administrator

Example Usage

resource "azuread_administrative_unit" "example" {
  display_name              = "Example-AU"
  description               = "Just an example"
  hidden_membership_enabled = false
}

Argument Reference

The following arguments are supported:

Attributes Reference

In addition to all arguments above, the following attributes are exported:

Import

Administrative units can be imported using their object ID, e.g.

terraform import azuread_administrative_unit.example 00000000-0000-0000-0000-000000000000