-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoIterationPermission
github-actions[bot] edited this page Aug 19, 2026
·
4 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| ProjectName | Key | System.String | Specifies the name of the Azure DevOps project. This is a mandatory key property. | |
| Ensure | Write | Ensure |
Present, Absent
|
|
| isInherited | Write | System.Boolean | Indicates whether the permissions are inherited. Defaults to $true. |
|
| IterationPath | Write | System.String | Specifies the path of the iteration for which permissions are being managed. Defaults to $null. |
|
| Permissions | Write | System.Collections.Hashtable[] | Specifies a hashtable array of permissions to be applied to the iteration. | |
| LookupResult | Read | System.Collections.Hashtable |
The AzDoIterationPermission class is a DSC resource that allows you to manage permissions for iterations in Azure DevOps projects.
It inherits from the AzDevOpsDscResourceBase class and provides properties and methods to configure and retrieve the state of iteration permissions.
This example shows how to add the Iteration permissions.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoPermission 'AddAzDoIterationPermission'
{
Ensure = 'Present'
ProjectName = 'Test Project'
IterationPath = '\Test Iteration\Sub Iteration'
isInherited = $false
Permissions = @(
@{
Identity = '[Test Project]\Test Team'
Permission = @{
'WORK_ITEM_READ' = 'Allow'
'GENERIC_WRITE' = 'Allow'
}
}
)
}
}
}This example shows how to update Iteration permissions.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoIterationPermission 'UpdateAzDoIterationPermission'
{
Ensure = 'Present'
ProjectName = 'Test Project'
IterationPath = '\Test Iteration\Sub Iteration'
isInherited = $false
Permissions = @(
@{
Identity = '[Test Project]\Test Team'
Permission = @{
'WORK_ITEM_READ' = 'Allow'
'GENERIC_WRITE' = 'Allow'
}
}
)
}
}
}This example shows how to remove Iteration permissions.
Configuration Example
{
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
node localhost
{
AzDoIterationPermission 'DeleteIterationPathPermission'
{
Ensure = 'Present'
ProjectName = 'Test Project'
IterationPath = '\Test Iteration\Sub Iteration'
isInherited = $false
# Note: Permissions can be empty to remove all permissions
# Ensure = 'Absent' is not required.
# Please note that by setting isInherited to $true, the permissions will be inherited from the parent Iteration path.
# If you want to remove all permissions, you can set isInherited to $false and provide an empty Permissions array.
Permissions = @()
}
}
}- 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