Skip to main content
Version: 2.1.1-preview

CIS.M365.5.1.2.3 - Ensure

Overview​

5.1.2.3 (L1) Ensure 'Restrict non-admin users from creating tenants' is set to 'Yes'

Non-privileged users can create tenants in the Microsoft Entra ID and Microsoft Entra administration portal under "Manage tenant". The creation of a tenant is recorded in the Audit log as category "DirectoryManagement" and activity "Create Company". By default, the user who creates a Microsoft Entra tenant is automatically assigned the Global Administrator role. The newly created tenant doesn't inherit any settings or configurations.

Rationale​

Restricting tenant creation prevents unauthorized or uncontrolled deployment of resources and ensures that the organization retains control over its infrastructure. User generation of shadow IT could lead to multiple, disjointed environments that can make it difficult for IT to manage and secure the organization's data, especially if other users in the organization began using these tenants for business purposes under the misunderstanding that they were secured by the organization's security team.

Impact​

Non-admin users will need to contact I.T. if they have a valid reason to create a tenant.

Remediation action:​

  1. Navigate to Microsoft 365 Entra admin center.
  2. Click to expand Entra ID > Users > User settings.
  3. Set Restrict non-admin users from creating tenants to Yes then Save.
PowerShell​
  1. Connect to Microsoft Graph using Connect-MgGraph -Scopes "Policy.ReadWrite.Authorization"
  2. Run the following commands:
# Create hashtable and update the auth policy
$params = @{ AllowedToCreateTenants = $false }
Update-MgPolicyAuthorizationPolicy -DefaultUserRolePermissions $params

Test Metadata​

FieldValue
Test IDCIS.M365.5.1.2.3
SeverityUnknown
SuiteCIS
CategoryCIS E3 Level 1
PowerShell testTest-MtCisCreateTenantDisallowed
TagsCIS, CIS E3, CIS E3 Level 1, CIS E5, CIS E5 Level 1, CIS M365 v6.0.1, CIS.M365.5.1.2.3, L1, Security

Source​

  • Pester test: tests/cis/Test-MtCisCreateTenantDisallowed.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisCreateTenantDisallowed.ps1