Skip to content

AzDoOrganizationGroup

github-actions[bot] edited this page Aug 19, 2026 · 4 revisions

Parameters

Parameter Attribute DataType Description Allowed Values
GroupName Key System.String The name of the organization group. This property is mandatory and serves as the key property for the resource.
Ensure Write Ensure Present, Absent
GroupDescription Write System.String The description of the organization group.
LookupResult Read System.Collections.Hashtable

Description

The AzDoOrganizationGroup class is a DSC resource that allows you to manage Azure DevOps organization groups. It provides properties to specify the group name, display name, and description.

Examples

Example 1

This example shows how to add a Orgnaization Group

Configuration Example
{

    Import-DscResource -ModuleName 'AzureDevOpsDscNative'

    node localhost
    {
        AzDoOrganizationGroup 'AddAzDoOrganizationGroup'
        {
            Ensure               = 'Present'
            GroupName            = 'Initial Group Name'
            GroupDescription     = 'Initial Description'
        }
    }
}

Example 2

This example shows how to update a Orgnaization Group

Configuration Example
{

    Import-DscResource -ModuleName 'AzureDevOpsDscNative'

    node localhost
    {
        AzDoOrganizationGroup 'UpdateAzDoOrganizationGroup'
        {
            Ensure               = 'Present'
            GroupName            = 'Updated Group Name'
            GroupDescription     = 'Initial Description'
        }
    }
}

Example 3

This example shows how to remove a Orgnaization Group

Configuration Example
{

    Import-DscResource -ModuleName 'AzureDevOpsDscNative'

    node localhost
    {
        AzDoOrganizationGroup 'DeleteAzDoOrganizationGroup'
        {
            Ensure               = 'Absent'
            GroupName            = 'Updated Group Name'
        }
    }
}

Commands

Resources

Clone this wiki locally