Skip to main content

Command Palette

Search for a command to run...

Create and Manage Groups in Microsoft 365

Published
โ€ข4 min read
Create and Manage Groups in Microsoft 365
P

Cloud and systems engineer with a strong foundation in networking, automation, and infrastructure design. I write about real-world challenges, best practices, and evolving trends in cloud computing, system administration, and network architecture.


๐Ÿ”น Why Groups Matter

Groups in Microsoft 365 allow admins to organize users for permissions, collaboration, communication, and licensing. Instead of assigning settings individually to each user, groups let you do it once for many people at once.

Example: Instead of granting each Marketing employee access to the Marketing SharePoint site โ†’ you create a Marketing Security Group and give that group permission.


๐Ÿ”น Best Practices for Managing Groups

  1. Naming conventions โ†’ Keep names simple, clear, and consistent (e.g., Dept_HR_Team instead of random names).

  2. Policies and procedures โ†’ Define rules for who creates groups, how often theyโ€™re reviewed, and when they should be deleted.

  3. Use groups inside groups โ†’ Add security groups to SharePoint roles instead of adding individual users.

  4. Account provisioning โ†’ Make sure thereโ€™s a consistent process for creating/deactivating accounts.

  5. Two owners per group โ†’ Prevents โ€œorphanedโ€ groups if one owner leaves.


๐Ÿ”น Creating a Group in the Microsoft 365 Admin Center

The wizard process:

  1. Go to Microsoft 365 admin center โ†’ Groups โ†’ Active groups โ†’ Add a group.

  2. Choose group type (Microsoft 365 group, distribution group, security group, etc.).

  3. Set up basics โ†’ Enter name + description. (You must click in description to enable Next.)

  4. Assign owners โ†’ Pick at least one person responsible for managing the group.

  5. Edit settings:

    • Assign email address (if mail-enabled).

    • Choose Public or Private visibility. (Public = anyone can join, Private = owner approval needed).

    • Choose whether to create a Microsoft Team linked to the group.

  6. Review and Finish โ†’ Confirm everything โ†’ Create group.

โš ๏ธ Note: If groups are synced from on-premises Active Directory, you cannot edit them in the cloud admin centerโ€”you must use local AD tools.


๐Ÿ”น PowerShell for Group Management

Sometimes admins use PowerShell instead of the GUI.

  • Create group:
New-MgGroup -DisplayName 'Test Group' -MailEnabled:$False -MailNickName 'testgroup' -SecurityEnabled
  • View groups:
Get-MgGroup
  • Delete group:
Remove-MgGroup -GroupId <ID>

๐Ÿ”น Determining Group Types

  • In Microsoft 365 admin center, the Type column shows whether itโ€™s:

    • Microsoft 365 Group

    • Distribution Group

    • Security Group

    • Mail-enabled Security Group

  • In PowerShell, use Get-MgGroup to retrieve the same info.


๐Ÿ”น Group Nesting (Adding Groups Inside Groups)

You can add one group as a member of another group. This is called nesting.

But Microsoft 365 limits nesting. See allowed combinations:

Group typeCan be member of M365 groups?Distribution groups?Security groups?Mail-enabled Security groups?
Microsoft 365 groupsโŒ NoโŒ NoโŒ NoโŒ No
Distribution groupsโŒ Noโœ… Yesโœ… Yesโœ… Yes
Security groupsโŒ NoโŒ Noโœ… YesโŒ No
Mail-enabled Security grpโŒ Noโœ… Yesโœ… Yesโœ… Yes

โš ๏ธ Caution: Nested groups can sometimes cause permissions issues โ†’ plan carefully before using.


๐Ÿ”น Deleting and Restoring Groups

  • Delete group (Admin Center):

    1. Go to Groups โ†’ Active groups.

    2. Select the group โ†’ More actions (โ€ฆ) โ†’ Delete group.

    3. Confirm deletion.

  • Restore Microsoft 365 Groups (only this type!)

    • Deleted groups go into a 30-day soft-delete period.

    • You can restore them within 30 days (restores mailbox, SharePoint site, OneNote, Teams, etc.).

    • After 30 days โ†’ permanent deletion.

โš ๏ธ Other group types (like Security or Distribution groups) cannot be restored once deleted.


๐Ÿ”น Group-Based Licensing in Microsoft Entra ID

Instead of assigning licenses to each user individually, admins can assign them to groups, and all members inherit the licenses.

โœจ Benefits

  • Automatic assignment โ†’ When a user joins/leaves group, licenses update automatically.

  • Less admin work โ†’ No manual PowerShell automation needed.

  • Supports all Microsoft cloud services (M365, Dynamics 365, EMS).

  • Conflict handling โ†’ If a license is assigned from multiple groups, it counts only once.

โš ๏ธ Requirements

  • Must have Microsoft Entra Premium P1 or higher, OR certain Microsoft 365 enterprise/business licenses.

  • Need enough licenses for all unique group members.

Example:

If group has 1,000 members โ†’ you must own at least 1,000 licenses.

Features

  • Assign licenses to security groups (synced or cloud-only).

  • Disable certain services in a license (e.g., assign M365 E3 but turn off Yammer).

  • Automatic license updates when group membership changes.

  • Admins can review errors if a license couldnโ€™t be assigned (e.g., not enough licenses available).


โœ… Quick Recap (Exam Points):

  • Groups are managed via Microsoft 365 Admin Center, Microsoft Entra ID, or PowerShell.

  • Best practice โ†’ add users to security groups, then grant permissions to groups, not individuals.

  • Nesting rules limit which groups can be inside others.

  • Only Microsoft 365 Groups can be restored (within 30 days).

  • Group-based licensing only available in Microsoft Entra Admin Center.

1 views

More from this blog

AWS

33 posts