mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-05 16:19:08 +00:00
Update LAB_02a_Manage_Subscriptions_and_RBAC.md
This commit is contained in:
parent
020bbd93d7
commit
75abf668ab
@ -185,9 +185,9 @@ In this task, you will create an Azure Active Directory user, assign the RBAC ro
|
||||
|
||||
```powershell
|
||||
|
||||
$scope = (Get-AzRoleDefinition -Name 'Support Request Contributor (Custom)').AssignableScopes[0]
|
||||
|
||||
Remove-AzRoleAssignment -ObjectId '[object_ID]' -RoleDefinitionName 'Support Request Contributor (Custom)' -Scope $scope
|
||||
$scope = (Get-AzRoleDefinition -Name 'Support Request Contributor (Custom)').AssignableScopes | Where-Object {$_ -like 'managementgroup'}
|
||||
|
||||
Remove-AzRoleAssignment -ObjectId '[object_ID]' -RoleDefinitionName 'Support Request Contributor (Custom)' -Scope $scope
|
||||
```
|
||||
|
||||
1. From the Cloud Shell pane, run the following to remove the custom role definition:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user