Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment

Restrict Who Can Create Microsoft 365 Groups and Teams

EntraReady Guides · Practical Microsoft 365 & Entra ID
Last reviewed:
Last verified against Microsoft Learn:

By default, every user can create Microsoft 365 groups, and Microsoft calls that the recommended approach because people can start collaborating without waiting on IT (Manage who can create Microsoft 365 Groups (opens in a new tab)). If you have a business reason to restrict it, you can limit creation to members of one group. That limit affects every service that creates groups: Outlook, SharePoint, Viva Engage, Microsoft Teams, Planner, Power BI (classic) and Project for the web / Roadmap.

Use it when: you have a governance requirement (naming, lifecycle, data ownership) and a plan for how people will request new teams. Microsoft suggests a training course followed by adding people to the allowed group, rather than a blanket block.

Before you start

Step by step

  1. Check the current state with the read-only script below.
  2. Create the allowed group. In the Microsoft 365 admin center, Groups > Add a group, choose the type, and add the people (or nested groups) who may create groups as members, not owners. Only one group can control creation, but it can contain other groups (Step 1 (opens in a new tab)). Admins in the roles above don't need to be members.
  3. Apply the setting with Learn's script (Step 2 (opens in a new tab)). It uses Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement and Microsoft.Graph.Beta.Groups, creates the Group.Unified settings object from template 62375ab9-6b52-47ed-826b-58e47e0e304b if it doesn't exist, then sets EnableGroupCreation to False and GroupCreationAllowedGroupId to your group's object ID with Update-MgBetaDirectorySetting. This changes tenant-wide behavior; run it after the read-only check and keep the output.
  4. Wait and test. Changes can take 30 minutes or more. Sign in as a user who isn't in the allowed group and isn't an admin, open Planner > New plan: you should see that plan and group creation is disabled. Repeat with a member of the group (Step 3 (opens in a new tab)).
  5. Publish the request path (form, ticket type or Teams request process) so blocked users know where to go.

Read-only PowerShell: current group creation setting

Read-only. Modules: Microsoft.Graph.Groups. Scopes: GroupSettings.Read.All (settings) and Group.Read.All (to resolve the allowed group's name). Directory Readers or Global Reader can read setting objects (List settings (opens in a new tab)). Not tested against a live tenant.

Connect-MgGraph -Scopes "GroupSettings.Read.All","Group.Read.All"
$unified = Get-MgGroupSetting -All | Where-Object DisplayName -eq "Group.Unified"
if (-not $unified) {
"No Group.Unified settings object: defaults apply, so all users can create Microsoft 365 groups."
return
}
$values  = @{}; $unified.Values | ForEach-Object { $values[$_.Name] = $_.Value }
$allowed = $values["GroupCreationAllowedGroupId"]
$name    = if ($allowed) { (Get-MgGroup -GroupId $allowed -Property displayName).DisplayName }
[pscustomobject]@{
EnableGroupCreation         = $values["EnableGroupCreation"]
GroupCreationAllowedGroupId = $allowed
AllowedGroupName            = $name
} | Export-Csv .\group-creation-setting.csv -NoTypeInformation

EnableGroupCreation (default True) and GroupCreationAllowedGroupId (default empty) are documented Group.Unified template settings (Template settings (opens in a new tab)). The v1.0 Get-MgGroupSetting without -GroupId lists tenant-level settings (Get-MgGroupSetting (opens in a new tab)); Learn's change script uses the beta equivalent (Get-MgBetaDirectorySetting).

Gotchas

Check it worked

Rerun the read-only script: EnableGroupCreation should be False and AllowedGroupName should be your group. Then repeat the Planner test from step 4.

Roll back

Rerun Learn's script with $GroupName = "" and $AllowGroupCreation = "True" to let all users create groups again (Step 2 (opens in a new tab)).

Related on EntraReady: Teams external vs guest access, SharePoint and OneDrive external sharing, Dynamic membership groups, Restore a deleted Microsoft 365 group.

← All Guides

Is this still accurate?

Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.

Reports go to the EntraReady inbox. Please don’t include passwords or tenant secrets.