Data Source: azuread_administrative_unit

Gets information about an adminisrative unit in Azure Active Directory.

API Permissions

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

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

When authenticated with a user principal, this data source does not require any additional roles.

Example Usage (by Group Display Name)

Look up by display name

data "azuread_administrative_unit" "example" {
  display_name = "Example-AU"
}

Look up by object ID

data "azuread_administrative_unit" "example" {
  object_id = "00000000-0000-0000-0000-000000000000"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: