mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 00:29:08 +00:00
Update LAB_02a_Manage_Subscriptions_and_RBAC.md
This commit is contained in:
parent
dc0edbf407
commit
0391f39667
@ -179,7 +179,8 @@ In this task, you will create an Azure Active Directory user, assign the RBAC ro
|
||||
1. From the Cloud Shell pane, run the following to remove the assignment of the custom role definition (replace the `[object_ID]` placeholder with the value of the **object ID** attribute of the **az104-02-aaduser1** Azure Active Directory user account you copied earlier in this task):
|
||||
|
||||
```powershell
|
||||
$scope = (Get-AzRoleAssignment -RoleDefinitionName 'Support Request Contributor (Custom)').Scope
|
||||
|
||||
$scope = (Get-AzRoleDefinition -Name 'Support Request Contributor (Custom)').AssignableScopes[0]
|
||||
|
||||
Remove-AzRoleAssignment -ObjectId '[object_ID]' -RoleDefinitionName 'Support Request Contributor (Custom)' -Scope $scope
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user