🛡️ Microsoft Entra ID Guest Users are not reviewed on a regular basis🟢⚪
- Contextual name: 🛡️ Guest Users are not reviewed on a regular basis🟢⚪
- ID:
/ce/ca/azure/microsoft-entra-id/guest-users-regular-review - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Similar Policies
- Cloud Conformity: Check for Microsoft Entra ID Guest Users
Description
Description
Microsoft Entra ID has native and extended identity functionality allowing you to invite people from outside your organization to be guest users in your cloud account and sign in with their own work, school, or social identities.
While an automated assessment procedure exists for this recommendation, the assessment status remains manual. Evaluating the appropriateness of guest users requires a manual review, as it depends on the specific needs and context of each organization and environment.
Rationale
Guest users are typically added outside your employee on-boarding/off-boarding process and could potentially be overlooked indefinitely. To prevent this, guest users should be reviewed on a regular basis. During this audit, guest users should also be determined to not have administrative privileges.
Impact
Before removing guest users, determine their use and scope. Like removing any user, there may be unforeseen consequences to systems if an account is removed without careful consideration.
Audit
... see more
Remediation
Remediating
From Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID.- Under
Manage, selectUsers.- Click on
Add filter.- Select
User type.- Select
Guestfrom the Value dropdown.- Click
Apply.- Check the box next to all
Guestusers that are no longer required or are inactive.- Click
Delete.- Click
OK.From Azure CLI
Before deleting the user, set it to inactive using the ID from the Audit Procedure to determine if there are any dependent systems:
az ad user update --id <exampleaccountid@domain.com> --account-enabled {false}After determining that there are no dependent systems delete the user:
Remove-AzureADUser -ObjectId <exampleaccountid@domain.com>From Azure PowerShell
Before deleting the user, set it to inactive using the ID from the Audit Procedure to determine if there are any dependent systems:
Set-AzureADUser -ObjectId "<exampleaccountid@domain.com>" -AccountEnabled falseAfter determining that there are no dependent systems delete the user:
... see more
policy.yaml
Linked Framework Sections
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| 💼 CIS Azure v5.0.0 → 💼 5.3.2 Ensure that guest users are reviewed on a regular basis (Manual) | 1 | no data | |||
| 💼 Cloudaware Framework → 💼 User Account Management | 19 | no data |