Skip to content

Commit 9fb5e0c

Browse files
(AzureCXP) fixed powershell sample
update New-AzRoleAssignment cmdlets as per example 3 here : https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azroleassignment?view=azps-9.4.0#example-3 resolves MicrosoftDocs/azure-docs#105713
1 parent 4a4a329 commit 9fb5e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/container-apps/microservices-dapr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ az role assignment create --assignee $PRINCIPAL_ID \
209209
```azurepowershell
210210
Install-Module Az.Resources
211211
212-
New-AzRoleAssignment -ObjectId $PrincipalId -RoleDefinitionName 'Storage Blob Data Contributor' -Scope '/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroupName/providers/Microsoft.Storage/storageAccounts/$StorageAcctName'
212+
New-AzRoleAssignment -ObjectId $PrincipalId -RoleDefinitionName 'Storage Blob Data Contributor' -Scope "/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroupName/providers/Microsoft.Storage/storageAccounts/$StorageAcctName"
213213
```
214214

215215
---

0 commit comments

Comments
 (0)