-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoTeamSettings
Michael Zanatta edited this page Aug 18, 2026
·
4 revisions
AzDoTeamSettings [string] #ResourceName
{
ProjectName = [String]$ProjectName
TeamName = [String]$TeamName
[ BacklogIterationPath = [String]$BacklogIterationPath ]
[ DefaultIterationPath = [String]$DefaultIterationPath ]
[ IterationPaths = [String[]]$IterationPaths ]
[ DefaultAreaPath = [String]$DefaultAreaPath ]
[ AreaPaths = [String[]]$AreaPaths ]
[ WorkingDays = [String[]]$WorkingDays ]
[ BugsBehavior = [String] {'asRequirements', 'asTasks', 'off'} ]
[ Ensure = [String] {'Present', 'Absent'} ]
}- ProjectName: The name of the Azure DevOps project. This property is mandatory and serves as the key property for the resource.
- TeamName: The name of the team whose settings are managed. This property is mandatory.
- BacklogIterationPath: The backlog iteration path for the team.
- DefaultIterationPath: The default iteration path for new work items.
- IterationPaths: The iteration paths selected for the team.
- DefaultAreaPath: The default area path for the team.
- AreaPaths: The area paths assigned to the team.
-
WorkingDays: The team's working days, for example
@('monday','tuesday','wednesday','thursday','friday'). -
BugsBehavior: How bugs are shown on backlogs and boards. Valid values are
asRequirements,asTasksandoff. -
Ensure: Specifies the desired state. This resource configures an existing team's settings and cannot be removed, so
Absentis a no-op.
This resource configures an existing Azure DevOps team's board/backlog settings: iteration and area paths, working days, and bug behaviour. The team itself is managed by the AzDoTeam resource. Because team settings cannot be deleted, Ensure = 'Absent' is treated as a no-op.
Configuration ExampleConfig {
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
Node localhost {
AzDoTeamSettings ConfigureTeam {
Ensure = 'Present'
ProjectName = 'MyProject'
TeamName = 'MyProject Team'
BacklogIterationPath = 'MyProject'
DefaultIterationPath = 'MyProject\Sprint 1'
IterationPaths = @('MyProject\Sprint 1', 'MyProject\Sprint 2')
DefaultAreaPath = 'MyProject'
AreaPaths = @('MyProject')
WorkingDays = @('monday', 'tuesday', 'wednesday', 'thursday', 'friday')
BugsBehavior = 'asRequirements'
}
}
}
Start-DscConfiguration -Path ./ExampleConfig -Wait -Verbose# Return the current configuration for AzDoTeamSettings
$properties = @{
ProjectName = 'MyProject'
TeamName = 'MyProject Team'
}
Invoke-DscResource -Name 'AzDoTeamSettings' -Method Get -Property $properties -ModuleName 'AzureDevOpsDscNative'parameters: {}
variables: {
ProjectName: MyProject,
TeamName: MyProject Team
}
resources:
- name: Configure Team Settings
type: AzureDevOpsDscNative/AzDoTeamSettings
dependsOn:
- AzureDevOpsDscNative/AzDoTeam/MyProject Team
properties:
ProjectName: $ProjectName
TeamName: $TeamName
BacklogIterationPath: $ProjectName
DefaultIterationPath: $ProjectName\Sprint 1
IterationPaths:
- $ProjectName\Sprint 1
- $ProjectName\Sprint 2
DefaultAreaPath: $ProjectName
AreaPaths:
- $ProjectName
WorkingDays:
- monday
- tuesday
- wednesday
- thursday
- friday
BugsBehavior: asRequirements
Ensure: PresentLCM Initialization:
$params = @{
AzureDevopsOrganizationName = "SampleAzDoOrgName"
ConfigurationDirectory = "C:\Datum\DSCOutput\"
ConfigurationUrl = 'https://configuration-path'
JITToken = 'SampleJITToken'
Mode = 'Set'
AuthenticationType = 'ManagedIdentity'
ReportPath = 'C:\Datum\DSCOutput\Reports'
}
Invoke-AzDoLCM @params- Assert-BoundParameter
- Assert-ElevatedUser
- Assert-IPAddress
- Assert-Module
- AzDoAPI_0_ProjectCache
- AzDoAPI_1_GroupCache
- AzDoAPI_2_UserCache
- AzDoAPI_3_GroupMemberCache
- AzDoAPI_4_GitRepositoryCache
- AzDoAPI_5_PermissionsCache
- AzDoAPI_6_ServicePrinciple
- AzDoAPI_7_IdentitySubjectDescriptors
- AzDoAPI_8_ProjectProcessTemplates
- AzDoAPI_9_DevOpsClassificationNodes
- Compare-DscParameterState
- Compare-ResourcePropertyState
- ConvertFrom-DscResourceInstance
- ConvertTo-Base64String
- ConvertTo-CimInstance
- ConvertTo-HashTable
- Find-Certificate
- Format-Path
- Get-AzDevOpsOperation
- Get-AzDevOpsServicesApiUri
- Get-AzDevOpsServicesUri
- AzDoAgentPool
- AzDoAgentPoolPermission
- AzDoAgentQueue
- AzDoAreaNodes
- AzDoAreaPermission
- AzDoArtifactFeed
- AzDoArtifactFeedPermission
- AzDoArtifactFeedSettings
- AzDoArtifactFeedView
- AzDoAuditStream
- AzDoBranchPolicy
- AzDoCheckConfiguration
- AzDoDeploymentGroup
- AzDoEnvironmentApproval
- AzDoEnvironmentPermission
- AzDoExtension
- AzDoGitPermission
- AzDoGitRepository
- AzDoGroupMember
- AzDoGroupPermission
- AzDoIterationNodes
- AzDoIterationPermission
- AzDoNotificationSubscription
- AzDoOrganizationGroup
- AzDoOrganizationSettings
- AzDoPipeline
- AzDoPipelineEnvironment
- AzDoPipelinePermission
- AzDoPipelineSettings
- AzDoProcess
- AzDoProcessPermission
- AzDoProject
- AzDoProjectGroup
- AzDoProjectPermission
- AzDoProjectServices
- AzDoRepositorySettings
- AzDoSecurityNamespacePermission
- AzDoServiceConnection
- AzDoServiceConnectionPermission
- AzDoServiceHook
- AzDoTaskGroup
- AzDoTeam
- AzDoTeamMember
- AzDoTeamSettings
- AzDoUserEntitlement
- AzDoVariableGroup
- AzDoVariableGroupPermission
- AzDoWiki
- AzDoWIPTags