Skip to content

Commit 2de1c1f

Browse files
authored
Corrected Step2 CLI command
In step 2. "Create the new role using the JSON file", the role name does not match the role name of the previous step. Also, the CLI throws error using the--resource-group parameter stating "Resource group <resource group name> is redundant because scope is supplied.
1 parent ae245e4 commit 2de1c1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/azure-resource-manager/bicep/key-vault-parameter.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,9 @@ The following procedure shows how to create a role with the minimum permission,
131131
```azurecli-interactive
132132
az role definition create --role-definition "<path-to-role-file>"
133133
az role assignment create \
134-
--role "Key Vault resource manager template deployment operator" \
134+
--role "Key Vault Bicep deployment operator" \
135135
--scope /subscriptions/<Subscription-id>/resourceGroups/<resource-group-name> \
136-
--assignee <user-principal-name> \
137-
--resource-group ExampleGroup
136+
--assignee <user-principal-name>
138137
```
139138

140139
# [PowerShell](#tab/azure-powershell)

0 commit comments

Comments
 (0)