Skip to content

Commit

Permalink
Update LAB_01_RBAC.md
Browse files Browse the repository at this point in the history
  • Loading branch information
serling1962 authored Mar 25, 2024
1 parent 4633ee4 commit c2f3817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Instructions/Labs/LAB_01_RBAC.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ In this task, you will create the Junior Admins group and add the user account o

```powershell
$group = Get-MgGroup -Filter "DisplayName eq 'Junior Admins'"
New-MgGroupMemeber -GroupId $group.Id -DirectoryObjectId $user.Id
New-MgGroupMember -GroupId $group.Id -DirectoryObjectId $user.Id
```

```powershell
New-MgGroup -DisplayName 'Junior Admins' -MailEnabled $false -SecurityEnabled $true -MailNickName JuniorAdmins
New-MgGroup -DisplayName 'Junior Admins' -MailEnabled:$false -SecurityEnabled:$true -MailNickName JuniorAdmins
```
3. In the PowerShell session within the Cloud Shell pane, run the following to list the groups in your Microsoft Entra tenant (the list should include the Senior Admins and Junior Admins groups):
Expand Down

0 comments on commit c2f3817

Please sign in to comment.