Skip to content

Commit 042000a

Browse files
author
Sheyla Trudo
committed
fixup! User Service Connections
1 parent 71e730c commit 042000a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ steps:
279279
SA_NAME=$(echo "$SA_DATA" | jq -r '.name')
280280
echo >&2 "##vso[task.setvariable variable=ACNCI_STORAGEACCOUNT_NAME;isoutput=true]$SA_NAME"
281281
# Storage Account Subscription
282-
SA_SUBSCRIPTION=$(echo "$SA_DATA" | jq -r '.subscription')
282+
SA_SUBSCRIPTION=$(echo "$SA_DATA" | jq -r '.subscriptionId')
283283
echo >&2 "##vso[task.setvariable variable=ACNCI_STORAGEACCOUNT_SUBSCRIPTION;isoutput=true]$SA_SUBSCRIPTION"
284284
# Service Connection
285285
echo >&2 "##vso[task.setvariable variable=ACNCI_STORAGEACCOUNT_SERVICECONNECTION;isoutput=true]$SA_SERVICE_CONN"
@@ -312,6 +312,7 @@ steps:
312312
displayName: "[Provision] Give Test Permissions to Primary"
313313
inputs:
314314
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
315+
addSpnToEnvironment: true
315316
scriptType: bash
316317
scriptLocation: inlineScript
317318
inlineScript: |

0 commit comments

Comments
 (0)