Restrict Microsoft 365 Group Creation to a Security Group
Question details
Understand Exchange user role assignment policies and limit Microsoft 365 group creation to members of a designated security group.

- Product
- Microsoft 365 and Exchange Online
- Device & OS
- not provided
- Scenario
- An administrator wants only a designated security group to create Microsoft 365 groups and needs to distinguish that policy from distribution group and personal contact group permissions.
- Observed behavior
- The desired configuration allows designated users to create Microsoft 365 groups without treating personal contact groups as organization-wide groups.
Create or identify the security group whose members may create Microsoft 365 groups, and copy its object ID from the Microsoft Entra admin center. Check Microsoft's current licensing and administrator role requirements for restricting group creation, and review any existing Group.Unified directory settings before changing them.
Restrict Microsoft 365 group creation with Microsoft Graph PowerShell
Use the Microsoft 365 group creation policy to allow members of a designated security group to create groups.
This tenant-wide policy is separate from Exchange distribution group role assignment policies and personal Outlook contact groups.
The restriction can affect group creation through services such as Microsoft Teams and Planner. Certain administrator roles can still create groups despite the restriction.
In the Microsoft Entra admin center, open Groups > All groups, select the permitted security group, and copy its Object ID. Add the users who should be allowed to create Microsoft 365 groups to that group.
Open PowerShell and install the directory management module with Install-Module Microsoft.Graph.Identity.DirectoryManagement if needed. Run Connect-MgGraph -Scopes 'Directory.ReadWrite.All' and sign in with an account authorized to manage directory settings and grant the requested permission.
Run $setting = Get-MgDirectorySetting | Where-Object { $_.DisplayName -eq 'Group.Unified' }. If no setting exists, run $template = Get-MgDirectorySettingTemplate | Where-Object { $_.DisplayName -eq 'Group.Unified' }, then $setting = New-MgDirectorySetting -BodyParameter @{ templateId = $template.Id; values = $template.Values }.
Replace GROUP-OBJECT-ID with the copied ID, then run: $values = $setting.Values; ($values | Where-Object { $_.Name -eq 'EnableGroupCreation' }).Value = 'False'; ($values | Where-Object { $_.Name -eq 'GroupCreationAllowedGroupId' }).Value = 'GROUP-OBJECT-ID'; Update-MgDirectorySetting -DirectorySettingId $setting.Id -BodyParameter @{ values = $values }.
Run Get-MgDirectorySetting -DirectorySettingId $setting.Id and inspect its Values for EnableGroupCreation and GroupCreationAllowedGroupId. After the change propagates, test group creation with a member and a nonmember who does not hold an exempt administrator role.

Review Exchange distribution group role assignments
Use this review to manage distribution group operations separately from Microsoft 365 group creation.
Work with Office documents in WPS Office
WPS Office is a free, lightweight, easy-to-use alternative for working with Office documents. Its familiar interface and Microsoft Office format compatibility make it easier to migrate files, although Microsoft 365 group policies must still be managed in Microsoft services.

Frequently Asked Questions
Do MyDistributionGroups permissions restrict Microsoft 365 group creation?
No. MyDistributionGroups controls distribution group operations in Exchange user role assignment policies. Use the Group.Unified directory setting to restrict Microsoft 365 group creation.
What does MyDistributionGroupMembership control?
It controls a user's ability to join or leave eligible distribution groups, subject to the group's membership settings. Review it in Exchange admin center under Roles > User roles.
Will users still be able to create personal contact groups in Outlook?
Yes. Personal contact groups are separate from Microsoft 365 groups and organization-wide distribution groups, so the Microsoft 365 group creation policy does not control them.
Why can an administrator still create a Microsoft 365 group after the restriction?
Certain administrator roles are exempt from the group creation restriction. Test with a nonmember who does not hold an exempt role, and check Microsoft's current documentation for the applicable roles.
Where can I find the permitted security group's object ID?
In the Microsoft Entra admin center, open Groups > All groups, select the security group, and copy its Object ID from the group details.




