You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/role-based-access-control/custom-roles-bicep.md
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Get-AzRoleDefinition "Custom Role - RG Reader"
88
88
89
89
Similar to creating a custom role, you can update an existing custom role using Bicep. To update a custom role, you need to specify the role you want to update.
90
90
91
-
Here are the changes you would need to make to the previous Bicep file to update the custom role:
91
+
Here are the changes you would need to make to the previous Bicep file to update the name of the custom role:
92
92
93
93
- Include the role ID as a parameter.
94
94
@@ -100,32 +100,43 @@ Here are the changes you would need to make to the previous Bicep file to update
100
100
101
101
```
102
102
103
-
- Add the role ID as a parameter. Remove the variable named roleDefName.
103
+
- Remove the roleDefName variable. You'll get a warning if you have a parameter and variable with the same name.
0 commit comments