Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Restrict non-admin users from creating security groups

MT.1069LowEntra IDUser and directory settings

Part of Maester · Entra ID · User and directory settings · All checks

Run this check
Invoke-Maester -TestId MT.1069

Verifies that security group creation is restricted to admin users only in the Entra ID tenant.

Restricting security group creation to administrators ensures proper governance, maintains the principle of least privilege, and supports regulatory compliance requirements.

This setting can be changed via user settings in the Microsoft Entra or Azure portal or via Microsoft Graph API / Graph PowerShell Module.

Admin Portal:

  1. Go to Entra Admin Center
  2. Navigate to Users → User settings
  3. Set Users can create security groups to No
  4. Click Save

Use the following PowerShell commands to restrict security group creation:

# Connect to Microsoft Graph with appropriate permissions
Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization"
# Get the current authorization policy
$authPolicy = Get-MgPolicyAuthorizationPolicy
# Update the policy to restrict security group creation
$params = @{
defaultUserRolePermissions = @{
allowedToCreateSecurityGroups = $false
}
}
Update-MgPolicyAuthorizationPolicy -AuthorizationPolicyId $authPolicy.Id -BodyParameter $params
Every attribute of this check
FieldValue
Test IDMT.1069
SeverityLow
SuiteMaester
ProductEntra ID
FeatureUser and directory settings
AreaAccess control
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKNone
Supports controlsnist-800-53-r5:AC-6
PowerShell testTest-MtSecurityGroupCreationRestricted
ServicesGraph