Group Management
This module aligns to MS-102, which retires on October 31, 2026. The replacement exam is AB-650: Administering Microsoft 365 and AI Services (beta). Core M365 admin skills in this module carry forward into AB-650. Read our AB-650 guide →
MS-102 Exam Alignment
MS-102
Objective 1.2 — Manage users and groups (groups): create and manage group types, configure dynamic membership rules, and understand what each group type auto-provisions.
- Distinguish between Microsoft 365 Groups, Security Groups, Distribution Lists, and Mail-Enabled Security Groups
- Know what resources a Microsoft 365 Group auto-provisions (mailbox, SharePoint, Planner, Teams)
- Configure dynamic membership rules — and know the Entra ID P1 licence requirement
- Understand when to use Security Groups for access control vs M365 Groups for collaboration
- Know how to restrict Microsoft 365 Group/Team creation to specific users
👥 Types of Groups in Microsoft 365
| Group Type | Used For | Has Email | Dynamic Members |
|---|---|---|---|
| Microsoft 365 Group | Teams workspaces, SharePoint sites, shared mailbox, Planner, OneNote | ✅ Yes | ✅ Requires Entra P1 |
| Security Group | Controlling access to apps, SharePoint, Conditional Access policies, Intune | ❌ No | ✅ Requires Entra P1 |
| Distribution List | Sending bulk email to a list of recipients — no collaboration features | ✅ Yes | ❌ No |
| Mail-Enabled Security | Access control AND email — combines Security Group + Distribution List | ✅ Yes | ❌ No |
💡 The Key Distinction — Most Tested Interview Topic
When a user creates a Team in Microsoft Teams, a Microsoft 365 Group is automatically provisioned behind it — this group backs the SharePoint team site, shared Exchange mailbox, Planner board, and OneNote. Security Groups do NOT have these collaboration features — they are purely for access control. This distinction is tested in almost every M365 admin interview.
🔷 Microsoft 365 Groups (Unified Groups)
Microsoft 365 Groups are the modern collaboration group type. Creating one automatically provisions the following resources:
- Shared Exchange mailbox — group members can send to and receive from the group email address
- SharePoint team site — a shared document library and pages site for the group
- Planner board — shared task management for the group
- OneNote notebook — shared notes accessible to all members
- Teams workspace — if a Team is created from or linked to the group
⚠️ Group Creation Policy — Default Is Open
By default, any licensed user can create a Microsoft 365 Group (and therefore a Team), leading to uncontrolled sprawl. To restrict creation to specific users, configure the M365 Group creation policy in Entra ID — you specify a security group whose members are the only ones allowed to create new groups. This requires Entra ID P1 licensing.
🔐 Security Groups
Security Groups are the standard way to control access to resources in Microsoft 365 and Azure:
- Granting SharePoint site access to a department without managing individuals
- Targeting Conditional Access policies at specific user populations
- Controlling who can create Microsoft 365 Groups or Teams
- Assigning application permissions in Entra ID (app registrations)
- Targeting Intune device compliance and configuration policies
📋 Creating Groups — Portal Walkthrough
M365 Admin Center › Teams & Groups › Active groups › + Add a group
| Name | Type | |
|---|---|---|
| Marketing Team | Microsoft 365 | marketing@contoso.com |
| IT-Admins | Security | — |
| All Staff Newsletter | Distribution | allstaff@contoso.com |
Creating a Group — Step by Step
-
1Go to Teams & Groups → Active groups → + Add a group
-
2Select the group type (Microsoft 365, Security, Distribution, or Mail-Enabled Security)
-
3Enter the group name, description, and email alias (for mail-enabled types)
-
4Set the group owner(s) — owners can add/remove members and manage group settings
-
5Add initial members. For Microsoft 365 Groups, also set the privacy level (Private = members only / Public = anyone in org can join)
-
6Review and create. For Microsoft 365 Groups, the SharePoint site and mailbox are provisioned within a few minutes
⚙️ Dynamic Membership Rules
💡 What Is Dynamic Membership?
Dynamic membership automatically adds and removes users from a group based on user attribute values in Entra ID — department, job title, company, location, employeeType, and others. This requires Microsoft Entra ID P1 or P2 licensing. With dynamic groups you never manually manage membership — users join when they match the rule and leave when they no longer match.
Example dynamic membership rule:
This rule automatically includes all enabled users whose department attribute is set to "Sales". Any user whose department changes away from Sales is automatically removed from the group.
✅ Practical Use Case — Group-Based Licensing
Combine dynamic groups with group-based licensing for fully automated provisioning. Create a dynamic Security Group with rule (user.department -eq "Sales"), then assign your Sales license package to that group in Entra ID. New Sales employees automatically receive the correct licenses within minutes of their user record being updated — no manual admin action required.
⚡ PowerShell — Group Management
Connect-MgGraph -Scopes "Group.ReadWrite.All" # List all groups with type information Get-MgGroup -All | Select DisplayName, GroupTypes, MailEnabled, SecurityEnabled # Create a Microsoft 365 Group (GroupTypes = Unified) New-MgGroup -DisplayName "Finance Team" -MailNickname "FinanceTeam" -GroupTypes @("Unified") -MailEnabled $true -SecurityEnabled $false # Create a Security Group New-MgGroup -DisplayName "IT-VPN-Users" -MailNickname "IT-VPN-Users" -MailEnabled $false -SecurityEnabled $true # Add a member to a group New-MgGroupMember -GroupId "[group-object-id]" -DirectoryObjectId "[user-object-id]" # Get all members of a group Get-MgGroupMember -GroupId "[group-object-id]"
🎓 Interview Q&A
A project team needs a shared space where they can collaborate on documents, track tasks in Planner, and communicate via a shared email address. Which group type should you create?
You want to automatically manage membership of a security group so that all users in the Engineering department are included, and members are removed when they leave the department. What is required?
Your organisation needs to control access to a SharePoint site so that only members of the HR department can access it. No collaboration features or email are required. Which group type is most appropriate?
When a Microsoft Teams team is created by a user, what is automatically provisioned alongside it?
Users in your organisation are creating Microsoft 365 Groups freely, leading to hundreds of abandoned Teams and SharePoint sites. How do you restrict Group creation to only IT administrators?