File tree Expand file tree Collapse file tree
AzureDevOpsPowerShell/Public/Api/ServiceEndpoints/Endpoints Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ function New-AzDoServiceConnection {
7777 # Scope level (Subscription or ManagementGroup).
7878 [Parameter (Mandatory , ValueFromPipelineByPropertyName , ParameterSetName = ' ServiceprincipalSecret' )]
7979 [Parameter (Mandatory , ValueFromPipelineByPropertyName , ParameterSetName = ' ServiceprincipalCertificate' )]
80+ [Parameter (ValueFromPipelineByPropertyName , ParameterSetName = ' WorkloadIdentityFederation' )]
8081 [ValidateSet (' Subscription' , ' ManagementGroup' )]
8182 [string ]
8283 $ScopeLevel ,
@@ -89,11 +90,13 @@ function New-AzDoServiceConnection {
8990
9091 # ID of the subscriptionn.
9192 [Parameter (Mandatory , ValueFromPipelineByPropertyName , ParameterSetName = ' Subscription' )]
93+ [Parameter (ValueFromPipelineByPropertyName , ParameterSetName = ' WorkloadIdentityFederation' )]
9294 [string ]
9395 $SubscriptionId ,
9496
9597 # Name of the subscription.
9698 [Parameter (Mandatory , ValueFromPipelineByPropertyName , ParameterSetName = ' Subscription' )]
99+ [Parameter (ValueFromPipelineByPropertyName , ParameterSetName = ' WorkloadIdentityFederation' )]
97100 [string ]
98101 $SubscriptionName ,
99102
You can’t perform that action at this time.
0 commit comments