Skip to content
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) →

Sponsor

Ensure that no person has permanent access to all Azure subscriptions at the root scope

MT.1056HighAzureAccess management

Part of Maester · Azure · Access management · All checks

Run this check
Invoke-Maester -TestId MT.1056

Ensure that no person has permanent access to Azure Subscriptions.

User Access Administrator is a role that allows an Administrator to perform everything on an Azure Subscription. Global Administrators can gain this permission on the Root Scope in Entra ID, in the properties of the Entra ID tenant. These permissions should only be used in case of emergency and should not be assigned permanently.

Ensure that no User Access Administrator permissions at the Root Scope are applied.

To remove all Admins with Root Scope permissions, as a Global Administrator:

  1. Navigate to Microsoft Azure Portal https://portal.azure.com.
  2. Search for Microsoft Entra ID and select Microsoft Entra ID.
  3. Expand the Manage menu and select Properties.
  4. On the Properties page, go to the Access management for Azure resources section.
  5. In the information bar, click Manage elevated access users.
  6. Select all User Access Administrators and click Remove.
  7. Also check other role assignments, as they need to be removed to pass the tests.

To remove the admins through CLI:

az role assignment delete --role "User Access Administrator" --assignee [email protected] --scope "/"
Every attribute of this check
FieldValue
Test IDMT.1056
SeverityHigh
SuiteMaester
ProductAzure
Related productsEntra ID
FeatureAccess management
AreaPrivileged access
Resource typeUser
User impactLow
Implementation costLow
MITRE ATT&CKT1078.004 Cloud Accounts, T1098.003 Additional Cloud Roles
Supports controlsnist-800-53-r5:AC-6(5), nist-800-53-r5:AC-2
PowerShell testTest-MtUserAccessAdmin
ServicesAzure, Graph