From b581194feb5b014edb077e3af228d1dc6498e52d Mon Sep 17 00:00:00 2001 From: Stefan Ober Date: Tue, 17 Jan 2023 10:42:56 +0100 Subject: [PATCH] LAB_02a Correction of Cleanup Tasks. --- Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md b/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md index d880b634..b9f7a8df 100644 --- a/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md +++ b/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md @@ -185,7 +185,7 @@ 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 | Where-Object {$_ -like 'managementgroup'} + $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 ```