Skip to content

Create a Group with Microsoft Graph

  1. Connect to Microsoft Graph for group management via the following command:

    Connect-Graph -scope group.readwrite.all
    
  2. Create a new group by running the following command:

    New-MgGroup  -DisplayName "Group Name" -Description "Description of Group Purpose" -MailEnabled:$True -MailNickName "GroupName" -SecurityEnabled -GroupTypes Unified
    
  3. Run the Get-MgGroup command to view the groups for your tenant, and look for the group you just created