From 0391f396671646ca11a8c55c9ecff19107f1d0d3 Mon Sep 17 00:00:00 2001 From: staleycyn <45440075+staleycyn@users.noreply.github.com> Date: Wed, 13 Apr 2022 12:36:18 -0700 Subject: [PATCH] Update LAB_02a_Manage_Subscriptions_and_RBAC.md --- Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md | 3 ++- 1 file changed, 2 insertions(+), 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 609ec6d3..40e2b187 100644 --- a/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md +++ b/Instructions/Labs/LAB_02a_Manage_Subscriptions_and_RBAC.md @@ -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 ```