Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
By default, all users can create Microsoft 365 groups. This is the recommended approach because it allows users to start collaborating without requiring assistance from IT.
If your business requires that you restrict who can create groups, you can restrict Microsoft 365 Groups creation to the members of a particular Microsoft 365 group or security group.
If you're concerned about users creating teams or groups that don't comply with your business standards, consider requiring users to complete a training course and then adding them to the group of allowed users.
When you limit who can create a group, it affects all services that rely on groups for access, including:
The steps in this article won't prevent members of certain roles from creating Groups. Microsoft 365 global admins can create groups via the Microsoft 365 admin center, Planner, Exchange, and SharePoint, but not other locations such as Teams. Other roles can create Microsoft 365 Groups via limited means, listed below.
If you're a member of one of these roles, you can create Microsoft 365 Groups for restricted users, and then assign the user as the owner of the group.
To manage who creates groups, the following people need Microsoft Entra ID P1 or P2 licenses or Microsoft Entra Basic EDU licenses assigned to them:
Note
See Assign or remove licenses in the Microsoft Entra admin center for more details about how to assign Azure licenses.
The following people don't need Microsoft Entra ID P1 or P2 or Microsoft Entra Basic EDU licenses assigned to them:
Only one group in your organization can be used to control who is able to create Microsoft 365 Groups. But, you can nest other groups as members of this group.
Admins in the roles listed above don't need to be members of this group: they retain their ability to create groups.
In the admin center, go to the Groups page.
Click on Add a Group.
Choose the group type you want. Remember the name of the group! You'll need it later.
Finish setting up the group, adding people or other groups who you want to be able to create groups as members (not owners).
For detailed instructions, see Create, edit, or delete a security group in the Microsoft 365 admin center.
You'll use the Microsoft Graph PowerShell Beta module to change the group-level guest access setting:
Update-Module Microsoft.Graph.Beta
to make sure it's the latest version of this module.Copy the following script into a text editor, such as Notepad, or the Windows PowerShell ISE.
Replace <GroupName> with the name of the group that you created. For example:
$GroupName = "Group Creators"
Save the file as GroupCreators.ps1.
In the PowerShell window, navigate to the location where you saved the file (type "CD <FileLocation>").
Run the script by typing:
.\GroupCreators.ps1
and sign in with your administrator account when prompted.
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
Import-Module Microsoft.Graph.Beta.Groups
Connect-MgGraph -Scopes "Directory.ReadWrite.All", "Group.Read.All"
$GroupName = ""
$AllowGroupCreation = "False"
$settingsObjectID = (Get-MgBetaDirectorySetting | Where-object -Property Displayname -Value "Group.Unified" -EQ).id
if(!$settingsObjectID)
{
$params = @{
templateId = "62375ab9-6b52-47ed-826b-58e47e0e304b"
values = @(
@{
name = "EnableMSStandardBlockedWords"
value = "true"
}
)
}
New-MgBetaDirectorySetting -BodyParameter $params
$settingsObjectID = (Get-MgBetaDirectorySetting | Where-object -Property Displayname -Value "Group.Unified" -EQ).Id
}
$groupId = (Get-MgBetaGroup | Where-object {$_.displayname -eq $GroupName}).Id
$params = @{
templateId = "62375ab9-6b52-47ed-826b-58e47e0e304b"
values = @(
@{
name = "EnableGroupCreation"
value = $AllowGroupCreation
}
@{
name = "GroupCreationAllowedGroupId"
value = $groupId
}
)
}
Update-MgBetaDirectorySetting -DirectorySettingId $settingsObjectID -BodyParameter $params
(Get-MgBetaDirectorySetting -DirectorySettingId $settingsObjectID).Values
The last line of the script will display the updated settings:
If in the future you want to change which group is used, you can rerun the script with the name of the new group.
If you want to turn off the group creation restriction and again allow all users to create groups, set $GroupName to "" and $AllowGroupCreation to "$true" and rerun the script.
Changes can take 30 minutes or more to take effect. You can verify the new settings by doing the following:
Sign in to Microsoft 365 with a user account of someone who should NOT have the ability to create groups. That is, they aren't a member of the group you created or an administrator.
Select the Planner tile.
In Planner, select New Plan in the left navigation to create a plan.
You should get a message that plan and group creation is disabled.
Try the same procedure again with a member of the group.
Note
If members of the group aren't able to create groups, check that they aren't being blocked through their OWA mailbox policy.
Collaboration governance planning recommendations
Create your collaboration governance plan
Getting started with Office 365 PowerShell
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Module
Manage groups in Microsoft 365 - Training
This module provides instruction on how to create groups for distributing email to multiple users within Exchange Online. It also explains how to create groups to support collaboration in SharePoint Online.
Certification
Microsoft 365 Certified: Teams Administrator Associate - Certifications
Demonstrate skills to plan, deploy, configure, and manage Microsoft Teams to focus on efficient and effective collaboration and communication in a Microsoft 365 environment.
Documentation
Microsoft 365 Groups and Microsoft Teams naming policy
Learn how to create a naming policy for Microsoft 365 Groups and Microsoft Teams.
Prevent users from creating and managing distribution groups in Microsoft 365 - Exchange
Users can create and manage distribution groups in Microsoft 365, but organizations may not want to allow this. Describes how Exchange Online admins can disable this functionality.
Overview of Microsoft 365 Groups for administrators - Microsoft 365 admin
With Microsoft 365 Groups, you can drive teamwork across Microsoft 365 by giving a group of people access to a collection of shared resources.