» azuread_group
Manages a Group within Azure Active Directory.
NOTE: If you're authenticating using a Service Principal then it must have permissions to Read and write all groups
within the Windows Azure Active Directory
API. In addition it must also have either the Company Administrator
or User Account Administrator
Azure Active Directory roles assigned in order to be able to delete groups. You can assign one of the required Azure Active Directory Roles with the AzureAD PowerShell Module, which is available for Windows PowerShell or in the Azure Cloud Shell. Please refer to this documentation for more details.
» Example Usage
resource "azuread_group" "my_group" {
name = "MyGroup"
}
» Argument Reference
The following arguments are supported:
-
name
- (Required) The display name for the Group.
NOTE: Group names are not unique within Azure Active Directory.
» Attributes Reference
The following attributes are exported:
» Import
Azure Active Directory Groups can be imported using the object id
, e.g.
terraform import azuread_group.my_group 00000000-0000-0000-0000-000000000000