Everyday role assignments should be reviewed on a regular schedule
This check looks at whether the access that people hold without special privileges is reviewed again from time to time, for example through scheduled access reviews. The safe setting is a recurring review where an owner confirms or removes each assignment.
Why it matters
Access tends to pile up. People change teams, projects end and contractors leave, but their role assignments stay. Even assignments that are not privileged can expose data or let someone change resources they no longer have any business with. A regular review lets the owner of a resource say yes or no to each assignment, so stale access is removed before somebody abuses it or an account is compromised.
Microsoft explains the approach in What are access reviews? and shows how to review Azure resource roles in Create an access review of groups and applications.
How to check it yourself
Portal path: Microsoft Entra admin center → Identity governance → Access reviews, and look for recurring reviews whose scope covers your Azure subscriptions, groups or applications. For a view of what is assigned today: Azure portal → Subscriptions → your subscription → Access control (IAM) → Role assignments.
Read-only commands:
# Who holds which role on this subscription
az role assignment list --all --output table
# Existing access review definitions (Microsoft Graph PowerShell)
Connect-MgGraph -Scopes AccessReview.Read.All
Get-MgIdentityGovernanceAccessReviewDefinition | Format-Table DisplayName, StatusThe setting is in place when a recurring review exists for the assignments you care about, with named reviewers and a result that is acted on. Keep a record of completed reviews too.
How to fix it
Portal steps: in Access reviews choose New access review, select what to review (a group that carries role access, or Azure resource roles through Privileged Identity Management), pick the reviewers, set the review to repeat on a schedule that suits you, and decide what happens to assignments nobody confirms. Access reviews need a suitable Microsoft Entra licence, so read the licensing section of the Learn page before you start.
When a review ends and you decide to remove an assignment, you can do it by hand. Check the output of the list command first, because this changes the role assignment:
az role assignment delete --assignee <principal-id> --role "Reader" --scope /subscriptions/<subscription-id>ConfigCobra itself never changes your Azure. It only reads it and shows the fix.
What changes when you fix it
Reviewers take on a recurring task, so name them and tell them how long they have to answer. People whose access is removed lose the rights that came with it, which can stop a pipeline, a script or a day-to-day task that quietly relied on that assignment.
To keep surprises small, start with a review that only collects answers and does not apply them automatically, look at the results, and then switch on automatic removal. Look at the impact on service accounts and shared groups first, because nobody signs in as them to complain when something stops working. Resource owners and security staff are the groups most involved; ordinary users notice only if their own access is removed.
Included in
| Benchmark | CIS ID | Profile |
|---|---|---|
| CIS Microsoft Azure Foundations v6.0.0 | 5.3.7 | Level 1 |
More checks in Identity Services
- Ensure that Azure Admin Accounts Are Not Used for Daily OperationsCIS 5.3.1
- Ensure that Guest Users are Reviewed on a Regular BasisCIS 5.3.2
- Ensure That Use of the 'User Access Administrator' Role is RestrictedCIS 5.3.3
- Ensure that All 'Privileged' Role Assignments are Periodically ReviewedCIS 5.3.4
- Ensure Disabled User Accounts do not Have Read, Write, or Owner PermissionsCIS 5.3.5
Check this on your Microsoft Azure
ConfigCobra runs this check with every other control of the CIS Microsoft Azure Benchmarks, read-only.