We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf32e8 commit 2d255a0Copy full SHA for 2d255a0
.pipelines/templates/artifact-storage.steps.yaml
@@ -48,6 +48,11 @@ steps:
48
"$ACNCI_BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
49
# Storage Blob Data Contributor on RG
50
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"
56
az role assignment create \
57
--role "Storage Blob Data Contributor" \
58
--assignee-principal-type ServicePrincipal \
0 commit comments