🛡️ Azure Owner Role has less than 2 or grater than 3 assignments🟢
- Contextual name: 🛡️ Owner Role has less than 2 or grater than 3 assignments🟢
- ID:
/ce/ca/azure/subscription/owner-role-assignments - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Description
Description
The Owner role in Azure grants full control over all resources in a subscription, including the ability to assign roles to others.
Rationale
Limit the number of security principals (users, groups, service principals, and managed identities) assigned the Owner role to between 2 and 3. If groups are used, ensure their membership is tightly controlled and regularly reviewed to avoid privilege sprawl.
Impact
Implementation may require changes in administrative workflows or the redistribution of roles and responsibilities. The recommendation to have between 2 and 3 Owners per subscription must account for all security principals that can be assigned the Owner role, not just individual users. This includes:
- User accounts
- Entra ID groups
- Service principals (used by applications or automation)
- Managed identities (system-assigned or user-assigned)
Audit
This policy marks an
OwnerAzure Authorization Role asINCOMPLIANTif the role has fewer than 2 or more that 3 related Azure Authorization Role Assignments.... see more
Remediation
Remediation
From Azure Portal
- Go to
Subscriptions.- Click the name of a subscription.
- Click
Access Controls (IAM).- Click
Role assignments.- Click
Role : All.- Click the arrow next to
All.- Click
Owner.- Check the box next to members from whom the owner role should be removed.
- Click
Delete.- Click
Yes.- Repeat steps 1-10 for each subscription requiring remediation.
From Azure CLI
Run the following command to delete role assignments by role assignment id:
az role assignment delete --ids {{id1 id2}}
policy.yaml
Linked Framework Sections
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| 💼 CIS Azure v5.0.0 → 💼 5.27 Ensure there are between 2 and 3 subscription owners (Automated) | 1 | no data | |||
| 💼 Cloudaware Framework → 💼 Role-Based Access Control (RBAC) Management | 18 | no data |