-
Notifications
You must be signed in to change notification settings - Fork 0
AzDoProcessPermission
Michael Zanatta edited this page Aug 19, 2026
·
4 revisions
AzDoProcessPermission [string] #ResourceName
{
ProcessName = [String]$ProcessName
[ isInherited = [Boolean]$isInherited ]
[ Permissions = [HashTable[]]$Permissions ]
[ Ensure = [String] {'Present', 'Absent'} ]
}AzDoProcessPermission/Permissions
{
Identity = [String]$Identity # Syntax
# SYNTAX: '[ProjectName | OrganizationName]\ServicePrincipalName, UserPrincipalName, UserDisplayName, GroupDisplayName'
# EXAMPLE: '[SampleOrganizationName]\Process Authors'
# EXAMPLE: '[]\Process Authors' # organisation-level group
Permission = [Hashtable]$Permissions # See 'Permission List'
}AzDoProcessPermission/Permissions/Permission
{
PermissionName|PermissionDisplayName = [String]$Name { 'Allow, Deny' }
}Either 'Name' or 'DisplayName' can be used, but we Strongly Recommend that you use 'Name' in your configuration.
| Name | DisplayName | Values | Note |
|---|---|---|---|
| Create | Create process | [ allow, deny ] | Allows creating inherited (child) processes from existing ones. |
| Edit | Edit process | [ allow, deny ] | |
| Delete | Delete process | [ allow, deny ] | |
| AdministerProcessPermissions | Administer process permissions | [ allow, deny ] | |
| ReadProcessPermissions | Read process permissions | [ allow, deny ] |
-
ProcessName: The scope of the permissions. This is the key property. Use the sentinel value
AllProcessesto target the organisation-wide root scope ($PROCESS), which governs who can create, edit, delete and administer processes — including creating inherited (child) processes. Use a specific inherited process name to scope permissions to that single process. -
isInherited: Whether the ACL inherits permissions from parent scopes. Defaults to
$true. - Permissions: A HashTable array that specifies the permissions to be set. Refer to: 'Permissions Syntax'.
-
Ensure: Specifies whether the permissions should exist. Valid values are
PresentandAbsent.
This resource manages access control entries in the Azure DevOps Process security namespace. The most common use is granting a group the Create permission at the AllProcesses scope so its members can create inherited processes based on existing ones. System processes (Agile, Scrum, CMMI, Basic) have no per-process token; their create/administer security lives at the AllProcesses (root) scope.
Configuration ExampleConfig {
Import-DscResource -ModuleName 'AzureDevOpsDscNative'
Node localhost {
AzDoProcessPermission AllowCreateProcesses {
Ensure = 'Present'
ProcessName = 'AllProcesses'
isInherited = $true
Permissions = @(
@{
Identity = '[MyOrg]\Process Authors'
Permission = @{
'Create' = 'Allow'
'Edit' = 'Allow'
}
}
)
}
}
}
Start-DscConfiguration -Path ./ExampleConfig -Wait -Verbose# Return the current configuration for AzDoProcessPermission
$properties = @{
ProcessName = 'AllProcesses'
isInherited = $true
Permissions = @(
@{
Identity = '[MyOrg]\Process Authors'
Permission = @{
'Create' = 'Allow'
}
}
)
}
Invoke-DscResource -Name 'AzDoProcessPermission' -Method Get -Property $properties -ModuleName 'AzureDevOpsDscNative'parameters: {}
variables: {
OrganizationName: MyOrg
}
resources:
- name: Allow Process Authors to create processes
type: AzureDevOpsDscNative/AzDoProcessPermission
properties:
ProcessName: AllProcesses
isInherited: true
Permissions:
- Identity: '[$OrganizationName]\Process Authors'
Permission:
Create: Allow
Edit: Allow
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-DscPipelineRunner @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