-
-
Notifications
You must be signed in to change notification settings - Fork 2
Connect AzDevOps
Connect to Azure DevOps for a session using a Service Principal, Managed Identity or Personal Access Token (PAT)
Connect-AzDevOps -Organization <String> [-PAT <String>] [-AuthType <String>] [-TokenType <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Connect-AzDevOps -Organization <String> -ClientId <String> -ClientSecret <String> -TenantId <String>
[-AuthType <String>] [-TokenType <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Connect to Azure DevOps for a session using a Service Principal, Managed Identity or Personal Access Token (PAT)
Connect-AzDevOps -Organization $Organization -PAT $PAT
Connect-AzDevOps -Organization $Organization -ClientId $ClientId -ClientSecret $ClientSecret -TenantId $TenantId -AuthType ServicePrincipal
Connect-AzDevOps -Organization $Organization -AuthType ManagedIdentity
Connect-AzDevOps -Organization $Organization -PAT $PAT -AuthType PAT
Organization name for Azure DevOps
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Personal Access Token (PAT) for Azure DevOps
Type: String
Parameter Sets: PAT
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Client ID for Service Principal
Type: String
Parameter Sets: ServicePrincipal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Client Secret for Service Principal
Type: String
Parameter Sets: ServicePrincipal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Tenant ID for Service Principal
Type: String
Parameter Sets: ServicePrincipal
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Authentication type for Azure DevOps (PAT, ServicePrincipal, ManagedIdentity)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: PAT
Accept pipeline input: False
Accept wildcard characters: False
Token type for Azure DevOps (FullAccess, FineGrained, ReadOnly)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: FullAccess
Accept pipeline input: False
Accept wildcard characters: False
{{ 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.