CIS.M365.5.1.3.1 - (L1) Ensure users cannot create security groups
Overviewβ
5.1.3.1 (L1) Ensure users cannot create security groups
This setting allows users in the organization to create new security groups and add members to these groups in the Azure portal, API, or PowerShell. These new groups also show up in the Access Panel for all other users. If the policy setting on the group allows it, other users can create requests to join these groups.
The recommended state is Users can create security groups in Azure portals, API or PowerShell set to No.
Rationaleβ
Allowing end users to create security groups without oversight can lead to uncontrolled group sprawl, increasing the risk of inappropriate access to sensitive data. The default assignment of group ownership to the creator introduces a potential for privilege escalation, especially if IT teams overlook how these groups are later used to manage access.
A more malicious scenario arises when a compromised non-privileged user creates deceptively named security groups such as βAccountingβ or βBreak-glassβ, or uses homograph techniques to mimic legitimate group names. Third-party IT teams may be particularly susceptible, as they might not be familiar with the environment or lack consistent naming conventions. An unsuspecting administrator could then mistakenly assign elevated privileges, grant access to sensitive data, or exclude these groups from Conditional Access policies, inadvertently creating a serious security gap.
Impactβ
Restrictions may introduce some operational friction, particularly in fast-paced or decentralized environments where teams rely on self-service capabilities for collaboration and access management.
This can increase reliance on IT teams for routine tasks, potentially causing delays. However, these impacts can be minimized through automated approval workflows and clear governance processes.
Remediation actionβ
- Navigate to Microsoft Entra admin center.
- Click to expand Entra ID > Groups select General.
- Set Users can create security groups in Azure portals, API or PowerShell to No.
PowerShellβ
- Connect to Microsoft Graph using
Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization" - Run the following commands:
$params = @{
defaultUserRolePermissions = @{
AllowedToCreateSecurityGroups = $false
}
}
Update-MgPolicyAuthorizationPolicy -BodyParameter $params
Default Valueβ
AllowedToCreateSecurityGroups : True
Related linksβ
- Microsoft Entra admin center - Group general settings
- Configure group settings in Microsoft Entra ID
- CIS Microsoft 365 Foundations Benchmark v7.0.0 - 5.1.3.1
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | CIS.M365.5.1.3.1 |
| Severity | Low |
| Suite | CIS |
| Product | Entra ID |
| Feature | Groups |
| Area | Access control |
| Resource type | Tenant |
| User impact | Medium |
| Implementation cost | Low |
| MITRE ATT&CK | T1098 Account Manipulation |
| Supports benchmark | CIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.1.3.1 |
| Benchmark level | L1 |
| Benchmark profiles | E3 Level 1 |
| Supports controls | cis-m365:5.1.3.1, nist-800-53-r5:AC-6 |
| PowerShell test | Test-MtCisUserCannotCreateSecurityGroup |
| Services | Graph |
Sourceβ
- Test:
tests/cis/Test.CIS.M365.5.1.3.1.ps1 - Documentation:
tests/cis/Test.CIS.M365.5.1.3.1.md
