Skip to content

Commit 95248a4

Browse files
authored
Merge pull request #85 from WeAreInSpark/RM/fix-New-AzDoServicewConnection
fix: ✨ Add ManagementGroup parametersset for WorkloadIdentityFederation
2 parents d1e0a74 + bd19d80 commit 95248a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AzureDevOpsPowerShell/Public/Api/ServiceEndpoints/Endpoints/New-AzDoServiceConnection.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,13 @@ function New-AzDoServiceConnection {
102102

103103
# ID of the Management group.
104104
[Parameter(Mandatory, ValueFromPipelineByPropertyName, ParameterSetName = 'ManagementGroup')]
105+
[Parameter(ValueFromPipelineByPropertyName, ParameterSetName = 'WorkloadIdentityFederation')]
105106
[string]
106107
$ManagementGroupId,
107108

108109
# Name of the Management group.
109110
[Parameter(Mandatory, ValueFromPipelineByPropertyName, ParameterSetName = 'ManagementGroup')]
111+
[Parameter(ValueFromPipelineByPropertyName, ParameterSetName = 'WorkloadIdentityFederation')]
110112
[string]
111113
$ManagementGroupName,
112114

0 commit comments

Comments
 (0)