Skip to main content
Version: 2.0.0

Test-AzdoDisableGlobalPATCreation

SYNOPSIS

Returns a boolean depending on the configuration.

SYNTAX

Test-AzdoDisableGlobalPATCreation [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Checks if global Personal Access Token creation is restricted.

Requires Azure DevOps organization backed by a Microsoft Entra tenant and Azure DevOps Administrator permissions.

https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/manage-pats-with-policies-for-administrators?view=azure-devops#restrict-creation-of-global-pats-tenant-policy

EXAMPLES

EXAMPLE 1

Test-AzdoDisableGlobalPATCreation

Returns a boolean depending on the configuration.

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES

https://maester.dev/docs/commands/Test-AzdoDisableGlobalPATCreation