A cloud-based identity and access management service for securing user authentication and resource access
Hi,
I recommend reviewing the old account’s access before deleting it. The following checks should cover the main areas:
Entra roles – Check direct role assignments and any role-assignable group memberships. Confirm the results with Get-MgUserMemberOf.
Azure RBAC – Use Azure Resource Graph to identify all RBAC assignments across management groups, subscriptions, resource groups, and resources. Manually verify a few results in Access Control (IAM).
PIM roles – Check both Eligible and Active assignments under Privileged Identity Management.
Applications and automation – Check Enterprise Applications, App Registrations, Automation Accounts, Logic Apps, and Service Principals owned by or linked to the account. Also search automation/runbook code for references to the account.
Group memberships – List all group memberships and identify any groups providing privileged access.
Conditional Access – Check whether the account is excluded from any Conditional Access policies. Use the What If tool to confirm which policies apply.
Service-specific access – Review access in Key Vault, Exchange, SharePoint, Teams, Azure DevOps, and Power Platform, as these may have permissions outside standard Azure RBAC.
Containment before deletion – Once the access review is documented, disable sign-in rather than deleting the account immediately. Monitor sign-in logs and automation/pipeline activity for 2–4 weeks. If there are no issues, proceed with deletion through the normal change process.
This approach should help identify any hidden dependencies or privileged access before the account is permanently removed.