diff --git a/AzurePipelines/pr-preview.yml b/AzurePipelines/pr-preview.yml index 234f8770ff..9425489234 100644 --- a/AzurePipelines/pr-preview.yml +++ b/AzurePipelines/pr-preview.yml @@ -83,11 +83,11 @@ steps: --resource-group $(webapp.resourceGroup) \ --slot pr-preview-$(webapp.slotName) \ --configuration-source $(webapp.name) - # az webapp identity assign \ - # -g $(webapp.resourceGroup) \ - # -n $(webapp.name) \ - # --slot pr-preview-$(webapp.slotName) \ - # --identities /subscriptions/400c5730-25f5-4ee6-a933-8b289b9ccb0d/resourcegroups/rg-dts-id-shared/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-SCLabs-Shared + az webapp identity assign \ + -g $(webapp.resourceGroup) \ + -n $(webapp.name) \ + --slot pr-preview-$(webapp.slotName) \ + --identities /subscriptions/400c5730-25f5-4ee6-a933-8b289b9ccb0d/resourcegroups/rg-dts-id-shared/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-SCLabs-Shared - task: AzureCLI@2 displayName: 'Deploy pr image to new slot'