Skip to content

Commit 2d255a0

Browse files
author
Sheyla Trudo
committed
fixup! Artifacts
1 parent 7bf32e8 commit 2d255a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ steps:
4848
"$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
4949
# Storage Blob Data Contributor on RG
5050
RG_ID="/subscriptions/${SUBSCRIPTION_ID}/resourceGroups/${RG_NAME}"
51+
az role assignment create \
52+
--role "Storage Account Contributor" \
53+
--assignee-principal-type ServicePrincipal \
54+
--assignee-object-id "$SP_APP_OID" \
55+
--scope "$RG_ID"
5156
az role assignment create \
5257
--role "Storage Blob Data Contributor" \
5358
--assignee-principal-type ServicePrincipal \

0 commit comments

Comments
 (0)