Skip to content

Commit dc3f847

Browse files
authored
Change CLI parameter singe quotes to double quotes
Changing the single quotes to double quotes around the parameter value of the CLI command to get RBAC role info. Single quotes produce an empty array in CLI but work in PS. Double quotes work in both CLI and PS. Changing this: az role definition list --name 'Contributor' to this: az role definition list --name "Contributor"
1 parent 2ad6f70 commit dc3f847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/governance/policy/how-to/remediate-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The **roleDefinitionIds** property uses the full resource identifier and doesn't
6060
following code:
6161

6262
```azurecli-interactive
63-
az role definition list --name 'Contributor'
63+
az role definition list --name "Contributor"
6464
```
6565

6666
## Manually configure the managed identity

0 commit comments

Comments
 (0)