Skip to main content
Version: 3.0.0-preview

CIS.M365.5.3.1 - (L2) Ensure privileged role assignments are activated and not assigned

Overviewโ€‹

Privileged directory roles are held through Privileged Identity Management (PIM) activation instead of permanent active assignment.

An account with a permanent privileged role is a permanent target: a stolen password or token gives immediate administrative access, at any hour, with no approval, justification or time limit. Making the role eligible means the account is an ordinary user until an admin activates the role for a few hours, with MFA and an audit trail. An attacker who adds a role to an account to keep access leaves a permanent assignment, and this test lists it.

The test lists every active assignment to a privileged role. Users and groups pass when the assignment type is Activated. Service principals pass when the assignment has an end date. Permanent Global Administrator assignments are accepted only for accounts listed in the EmergencyAccessAccounts setting of maester-config.json, up to two. When the setting is empty, every permanent assignment fails. See Emergency access accounts for how to configure it. Microsoft Entra ID P2 or Microsoft Entra ID Governance licences are required.

Remediation actionโ€‹

  1. Sign in to the Microsoft Entra admin center.
  2. Go to Entra ID > Roles & admins, or open Privileged Identity Management and select Microsoft Entra roles.
  3. Open Assignments > Active assignments and select each permanent assignment of a privileged role.
  4. Select Update and change the assignment to Eligible, then save.
  5. Ask the administrators to activate their role when they need it. Keep two cloud-only emergency access accounts as the only permanent Global Administrators, and list them in the EmergencyAccessAccounts setting of maester-config.json.

Test Metadataโ€‹

FieldValue
Test IDCIS.M365.5.3.1
SeverityHigh
SuiteCIS
ProductEntra ID
FeaturePrivileged Identity Management
AreaPrivileged access
Resource typeDirectoryRole
User impactLow
Implementation costMedium
MITRE ATT&CKT1078.004 Cloud Accounts, T1098.003 Additional Cloud Roles
Supports benchmarkCIS Microsoft 365 Foundations Benchmark (version 7.0.0), requirement 5.3.1
Benchmark levelL2
Benchmark profilesE5 Level 2
Supports controlscis-m365:5.3.1, nist-800-53-r5:AC-6(5)
PowerShell testTest-MtCisPrivilegedRolesActivatedNotAssigned
ServicesGraph
Compatible licensesAAD_PREMIUM_P2, Entra_Identity_Governance

Sourceโ€‹