Skip to content

Commit ced55e6

Browse files
authored
Merge pull request #82156 from lp-code/patch-1
Correct type of roleAssignmentName to variable
2 parents 5af89a2 + 6e5f26e commit ced55e6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/role-based-access-control/quickstart-role-assignments-template.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To assign Azure roles and remove role assignments, you must have:
3535

3636
## Review the template
3737

38-
The template used in this quickstart is from [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/rbac-builtinrole-resourcegroup/). The template has three parameters and a resources section. In the resources section, notice that it has the three elements of a role assignment: security principal, role definition, and scope.
38+
The template used in this quickstart is from [Azure Quickstart Templates](https://azure.microsoft.com/resources/templates/rbac-builtinrole-resourcegroup/). The template has two parameters and a resources section. In the resources section, notice that it has the three elements of a role assignment: security principal, role definition, and scope.
3939

4040
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.authorization/rbac-builtinrole-resourcegroup/azuredeploy.json":::
4141

@@ -64,7 +64,7 @@ The resource defined in the template is:
6464
$templateUri = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.authorization/rbac-builtinrole-resourcegroup/azuredeploy.json"
6565
6666
New-AzResourceGroup -Name $resourceGroupName -Location $location
67-
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -roleAssignmentName $roleAssignmentName -roleDefinitionID $roleDefinitionId -principalId $principalId
67+
New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -roleDefinitionID $roleDefinitionId -principalId $principalId
6868
```
6969
7070
1. Enter a resource group name such as ExampleGrouprg.
@@ -94,7 +94,6 @@ The resource defined in the template is:
9494
Parameters :
9595
Name Type Value
9696
==================== ========================= ==========
97-
roleAssignmentName String {roleAssignmentName}
9897
roleDefinitionID String 9980e02c-c2be-4d73-94e8-173b1dc7cf3c
9998
principalId String {principalId}
10099

0 commit comments

Comments
 (0)