Configuring Microsoft 365 Group Creation

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 8 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: Configuring Microsoft 365 Group Creation

Introduction: Why Group Governance Matters

In the modern digital workspace, Microsoft 365 Groups serve as the foundational membership service for collaboration. When a user creates a team in Microsoft Teams, a SharePoint site, a Planner board, or a shared Outlook inbox, they are essentially creating a Microsoft 365 Group. This underlying architecture is powerful because it provides a unified identity across various applications. However, this ease of access can quickly lead to "sprawl," where thousands of unmanaged, duplicate, or abandoned groups clutter your environment, making it difficult for users to find the information they need and for administrators to secure sensitive data.

Configuring who can create these groups is not about restricting user productivity; it is about creating a structured environment where collaboration happens intentionally. If every user in an organization has the ability to create a new group at any time, your directory will soon be filled with test groups, redundant project spaces, and guest-access sites that lack proper classification or lifecycle management. By implementing governance policies around group creation, you ensure that your organization remains organized, compliant, and secure while still empowering users to do their jobs effectively.

This lesson explores the technical and strategic aspects of managing Microsoft 365 group creation. We will look at how to restrict creation to specific security groups, the role of Azure Active Directory (now Microsoft Entra ID) in this process, and how to balance the need for user autonomy against the risks of uncontrolled growth.


Not read yet

The Architecture of Microsoft 365 Groups

To understand group governance, you must first understand that a "Team" in Microsoft Teams is just one manifestation of a Microsoft 365 Group. When a user clicks "Create Team," the system triggers a background process that generates an Azure AD object, a SharePoint site collection, a mailbox in Exchange Online, and a OneNote notebook.

Because this single action touches multiple services, the governance settings are applied at the tenant level, specifically within the Azure AD (Entra ID) directory settings. By default, the Microsoft 365 tenant allows all users to create groups. This is often the desired state for startups or smaller organizations, but as an organization grows, the need for a "gatekeeper" process becomes apparent.

Callout: The "Group" vs. "Team" Distinction It is common for users to be confused by the terminology. A Microsoft 365 Group is a directory object that acts as a container for membership. A Team is a user-facing interface that adds a chat-based collaboration layer on top of that group. When you restrict group creation, you are effectively restricting the ability to create Teams, Planner boards, and SharePoint sites simultaneously.

The Impact of Unrestricted Creation

When group creation is left wide open, several negative outcomes often occur:

  • Data Sprawl: Projects are created with the same name, leading to confusion about which site is the "source of truth."
  • Security Risks: Users might create public groups containing sensitive information that should have been private.
  • Lifecycle Management Challenges: Without a clear owner or purpose, groups become "orphan" sites that remain in the system indefinitely, consuming storage and complicating eDiscovery.
  • Compliance Gaps: Users may fail to apply the correct sensitivity labels because they do not realize the implications of the group's creation.

Not read yet

Restricting Group Creation via Microsoft Entra ID

The primary method for controlling group creation is to use PowerShell to modify the DirectorySettings object in Microsoft Entra ID. This is a "deny-by-default" approach: once you enable this setting, only members of a specific security group will be able to create new groups.

Prerequisites for Configuration

Before you begin, ensure you have the following:

  1. Global Administrator or Company Administrator permissions.
  2. Microsoft Graph PowerShell module installed on your machine.
  3. A designated Security Group that will contain the users allowed to create groups.

Step-by-Step Configuration Process

Step 1: Identify the Security Group

Create a security group in your directory (e.g., "Group Creation Allowed") and add the users who should have the authority to create teams. Note the ObjectID of this group, as you will need it for the script.

Step 2: Retrieve Directory Settings

You need to pull the existing directory settings to ensure you do not overwrite existing configurations. If no settings exist, you will create a new template.

# Connect to Microsoft Graph
Connect-MgGraph -Scopes "Directory.ReadWrite.All"

# Check if directory settings already exist
$settings = Get-MgDirectorySetting -All | Where-Object {$_.TemplateId -eq (Get-MgDirectorySettingTemplate | Where-Object {$_.DisplayName -eq "Group.Unified"}).Id}

if ($settings) {
    Write-Host "Settings already exist. Proceeding to update."
} else {
    Write-Host "Creating new settings object."
    $template = Get-MgDirectorySettingTemplate | Where-Object {$_.DisplayName -eq "Group.Unified"}
    $settings = New-MgDirectorySetting -DirectorySettingTemplateId $template.Id
}

Step 3: Apply the Restriction

Once you have the settings object, you must set the EnableGroupCreation flag to false and specify the GroupCreationAllowedGroupId with the ID of the security group you created in Step 1.

# Define the parameters
$params = @{
    "EnableGroupCreation" = $false
    "GroupCreationAllowedGroupId" = "YOUR-SECURITY-GROUP-OBJECT-ID-HERE"
}

# Apply the settings
Set-MgDirectorySetting -DirectorySettingId $settings.Id -Values @(
    @{Name = "EnableGroupCreation"; Value = "false"}
    @{Name = "GroupCreationAllowedGroupId"; Value = "YOUR-SECURITY-GROUP-OBJECT-ID-HERE"}
)

Warning: The "Administrator" Exception Be aware that even if you restrict group creation, Global Administrators retain the ability to create groups. This is a fail-safe mechanism to ensure you never accidentally lock yourself out of the environment. Always test this configuration in a sandbox or development tenant before deploying to your production environment.


Not read yet

Best Practices for Group Governance

Configuring the technical restriction is only half the battle. To be successful, you must pair the technical control with a clear organizational policy.

1. Implement a Request Workflow

If you restrict group creation, you must provide a way for users to request new teams. If you do not, you will face significant pushback from departments that need to collaborate quickly. Consider creating a Power App or a simple Microsoft Form that triggers an approval workflow in Power Automate. This allows you to capture the "Business Justification" for the new team before it is created.

2. Define a Naming Convention

A common pitfall is allowing users to name teams whatever they want. Implement a naming policy that automatically appends prefixes or suffixes based on department, location, or project type. This helps with identification and sorting. You can configure this in the Microsoft Entra ID admin center under "Groups" > "Naming policy."

3. Use Sensitivity Labels

Sensitivity labels are the modern standard for governance. Instead of just restricting creation, use labels to dictate what users can do once a group is created. For example, a label named "Confidential" could be configured to prevent guest access, enforce multi-factor authentication, or require encryption for files stored in that group's SharePoint site.

4. Establish a Lifecycle Policy

Groups should not live forever. Implement an automated expiration policy that requires group owners to confirm whether a group is still needed after a certain period (e.g., 180 days). If the owner does not respond to the renewal notifications, the group can be archived or deleted.

Tip: The "Soft Delete" Safety Net When a group is deleted, it enters a 30-day "soft delete" period. During this time, the group and its associated data (SharePoint files, Outlook inbox, etc.) can be restored by an administrator. This is a critical safety feature to keep in mind when implementing automated lifecycle policies.


Not read yet

Comparing Governance Approaches

Feature Unrestricted Access Restricted Access (Recommended)
User Experience Instant productivity Requires a request process
Administrative Overhead High (due to cleanup/sprawl) Lower (controlled growth)
Compliance Difficult to monitor Easier to track and audit
Naming Standards Optional/Manual Enforced by policy
Guest Access Hard to control Managed via labels/policies

Common Pitfalls and How to Avoid Them

Pitfall 1: Over-Restricting

The biggest mistake administrators make is making the creation process too difficult. If it takes three weeks of bureaucracy to get a new team, users will simply move to third-party tools like Slack, Trello, or personal cloud storage, creating "Shadow IT."

  • The Solution: Keep your request process lightweight. Use automation to create the team immediately upon approval, rather than requiring manual intervention from IT staff.

Pitfall 2: Forgetting about Existing Groups

When you implement a new governance policy, you often focus on future groups, ignoring the mess already in existence.

  • The Solution: Run an audit on existing groups before applying restrictions. Identify inactive groups and reach out to owners to see if they can be archived or deleted.

Pitfall 3: Ignoring Guest Access

Users often invite external partners into teams without realizing the security implications.

  • The Solution: Configure guest access settings at the tenant level. You can restrict guest invitations to specific domains or require that only team owners can add guests.

Pitfall 4: Relying Solely on Technical Controls

Governance is a social process as much as a technical one. If you block users without explaining why, they will be frustrated.

  • The Solution: Communicate the "Why." Explain that the policy is in place to protect company data and ensure that everyone can find the information they need. Publish a clear internal guide on how to request a team and what the expectations are for team owners.

Not read yet

Advanced Management: Using PowerShell for Lifecycle Auditing

Beyond just limiting creation, you should periodically audit your groups to understand who is creating them and how they are being used. You can use the Microsoft Graph PowerShell SDK to generate a report of all groups, their owners, and their last activity dates.

# Get all groups with owner and last activity date
$groups = Get-MgGroup -All -Property "Id,DisplayName,CreatedDateTime"
$report = foreach ($group in $groups) {
    $owners = Get-MgGroupOwner -GroupId $group.Id
    [PSCustomObject]@{
        Name = $group.DisplayName
        Created = $group.CreatedDateTime
        OwnerCount = $owners.Count
    }
}
$report | Export-Csv -Path "C:\Temp\GroupAudit.csv" -NoTypeInformation

This script provides a simple way to identify "ownerless" groups. An ownerless group is a significant risk because there is no one to manage membership or respond to expiration notifications. If you find groups with no owners, you should assign a new owner or delete the group to maintain a clean environment.


Not read yet

The Role of Sensitivity Labels in Governance

While restricting creation is a "gatekeeper" function, sensitivity labels provide "guardrails." Once a user creates a group (or if you allow certain users to continue creating them), sensitivity labels ensure that the group behaves according to its purpose.

Configuring Sensitivity Labels

  1. Navigate to the Microsoft Purview compliance portal.
  2. Go to Information protection > Labels.
  3. Create a new label and define the scope as Groups & sites.
  4. Configure the settings for that label, such as:
    • Privacy: Require the group to be private.
    • External access: Block guests from joining the group.
    • Device access: Limit access to managed devices only.

Once these labels are published, they become a mandatory part of the group creation wizard. Users must select a label, which forces them to think about the sensitivity of the data they are about to host. This "nudge" is one of the most effective governance techniques because it involves the user in the security process.

Callout: Why Labels Beat Restrictions While restricting who can create groups prevents sprawl, sensitivity labels prevent data leakage. A restrictive policy might stop a user from creating a group, but a label ensures that if a sensitive group is created, it is protected by the appropriate security policies. Using both in tandem provides the most robust governance strategy.


Not read yet

Automating the Request Workflow

To truly scale your governance, you should automate the request process. Instead of asking users to email IT, provide them with a self-service portal.

The Power Automate Workflow

  1. Trigger: A user submits a Microsoft Form requesting a new team. The form asks for the team name, purpose, and sensitivity level.
  2. Approval: The flow sends an approval request to the user’s manager or a designated IT approver.
  3. Creation: Once approved, the flow calls a "Graph API" action to create the Microsoft 365 Group with the specified name and settings.
  4. Notification: The flow emails the user with a link to their new team.

This approach satisfies the need for control while maintaining the speed that modern teams require. It also creates an automated audit trail of who requested the team, who approved it, and why it exists.


Key Takeaways for Success

  1. Understand the Baseline: Recognize that Microsoft 365 Group creation is the same action as creating a Team, a SharePoint site, or a Planner board. Restrictions apply globally.
  2. Use a "Deny-by-Default" Strategy: Restricting group creation to a specific security group is the most effective way to prevent directory sprawl and ensure that only trained or authorized users create new collaboration spaces.
  3. Prioritize the User Experience: If you take away the ability to create groups, you must provide a fast, automated alternative. If the request process is slow or manual, you will drive users to Shadow IT.
  4. Leverage Sensitivity Labels: Labels are your primary tool for enforcing security policies on groups. They allow you to apply different rules (like blocking guests) based on the content of the group.
  5. Audit Regularly: Use PowerShell to identify orphan groups, inactive sites, and groups with no owners. A clean directory is easier to search, easier to secure, and more efficient to manage.
  6. Communicate Clearly: Governance is a culture, not just a configuration. Ensure your users understand why these policies exist and how they can follow the correct procedures to get the tools they need.
  7. Test Before Deploying: Always test your PowerShell scripts and workflow automation in a non-production environment. Changing directory settings can have wide-reaching effects on your organization's ability to collaborate.

Summary

Configuring Microsoft 365 group creation is a foundational step in your governance journey. By moving from an "open-for-all" model to a managed, structured approach, you protect your organization from data sprawl and security risks without sacrificing the collaborative power of the platform. Remember that the goal of governance is not to stop work, but to ensure that work happens in a secure, organized, and compliant way. Start by identifying your stakeholders, defining your security group, and building a simple request workflow that empowers your users while keeping your environment healthy.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.