Create a Group with Microsoft Graph
-
Connect to Microsoft Graph for group management via the following command:
Connect-Graph -scope group.readwrite.all -
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 -
Run the
Get-MgGroupcommand to view the groups for your tenant, and look for the group you just created- This can obviously be verified via the Azure AD/Entra ID admin center as well