» Data Source: azuread_groups

Gets Object IDs or Display Names for multiple Azure Active Directory groups.

» Example Usage

data "azuread_groups" "groups" {
  names = ["group-a", "group-b"]
}

» Argument Reference

The following arguments are supported:

  • names - (Optional) The Display Names of the Azure AD Groups.

  • object_ids - (Optional) The Object IDs of the Azure AD Groups.

» Attributes Reference

The following attributes are exported:

  • object_ids - The Object IDs of the Azure AD Groups.
  • names - The Display Names of the Azure AD Groups.