Skip to content

AzDoTeamSettings

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

Parameters

Parameter Attribute DataType Description Allowed Values
ProjectName Key System.String
TeamName Required System.String
AreaPaths Write System.String[]
BacklogIterationPath Write System.String
BugsBehavior Write System.String ``, asRequirements, `asTasks`, `off`
DefaultAreaPath Write System.String
DefaultIterationPath Write System.String
Ensure Write Ensure Present, Absent
IterationPaths Write System.String[]
WorkingDays Write System.String[]
LookupResult Read System.Collections.Hashtable

Description

Allows the iteration paths (default iteration, backlog iteration and the iterations assigned to the team) and the area paths (default area path and the team's area paths) to be declared as part of how a team is configured.

Examples

Example 1

This example shows how to configure the iteration and area paths for an Azure DevOps team.

Configuration Example
{
    Import-DscResource -ModuleName 'AzureDevOpsDscNative'

    node localhost
    {
        AzDoTeamSettings 'ConfigureFrontendTeam'
        {
            Ensure               = 'Present'
            ProjectName          = 'MyProject'
            TeamName             = 'Frontend Team'

            # Iteration configuration
            BacklogIterationPath = 'MyProject'
            DefaultIterationPath = 'MyProject\Sprint 1'
            IterationPaths       = @('MyProject\Sprint 1', 'MyProject\Sprint 2')

            # Area-path configuration
            DefaultAreaPath      = 'MyProject\Frontend'
            AreaPaths            = @('MyProject\Frontend', 'MyProject\Frontend\Web')

            # General team settings
            WorkingDays          = @('monday', 'tuesday', 'wednesday', 'thursday', 'friday')
            BugsBehavior         = 'asRequirements'
        }
    }
}

Commands

Resources

Clone this wiki locally