Skip to content

Commit d07a288

Browse files
committed
Added delete custom role link
1 parent 9243d52 commit d07a288

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/role-based-access-control/custom-roles.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,13 @@ Just like built-in roles, the `AssignableScopes` property specifies the scopes t
194194

195195
Before you can delete a custom role, you must remove any role assignments that use the custom role. If you try to delete a custom role with role assignments, you get the message: `There are existing role assignments referencing role (code: RoleDefinitionHasAssignments)`.
196196

197-
Here are steps to help find the role assignments:
197+
Here are steps to help find the role assignments before deleting a custom role:
198198

199199
- List the [custom role definition](role-definitions-list.md).
200200
- In the [assignable scopes](role-definitions.md#assignablescopes) section, get the management groups, subscriptions, and resource groups.
201201
- Iterate over the assignable scopes and [list the role assignments](role-assignments-list-portal.md).
202202
- [Remove the role assignments](role-assignments-remove.md) that use the custom role.
203+
- [Delete the custom role](custom-roles-portal.md#delete-a-custom-role).
203204

204205
## Custom role limits
205206

0 commit comments

Comments
 (0)