layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_identity_groups |
Use this data source to access information about existing Groups within Azure DevOps |
Use this data source to access information about existing Groups within Azure DevOps On-Premise(Azure DevOps Server).
data "azuredevops_project" "example" {
name = "Example Project"
}
# load all existing groups inside an organization
data "azuredevops_identity_groups" "example-all-groups" {
}
# load all existing groups inside a specific project
data "azuredevops_identity_groups" "example-project-groups" {
project_id = data.azuredevops_project.example.id
}
The following arguments are supported:
project_id
- (Optional) The Project ID. If no project ID is specified all groups of an organization will be returned
The following attributes are exported:
-
groups
- A set of existing groups in your Azure DevOps Organization or project with details about every single group which includes:descriptor
- The descriptor is the primary way to reference the identity subject while the system is running. This field will uniquely identify the same identity subject across both Accounts and Organizations.name
- This is the non-unique display name of the identity subject. To change this field, you must alter its value in the source provider.