An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
Delete the user with a different account that has sufficient Microsoft Entra permissions.
- A signed-in account cannot delete itself. If the user being deleted is the same account currently signed in, sign in with another account.
- To delete users in Microsoft Entra ID, the account performing the action must have at least User Administrator. To delete users with higher privileges, Privileged Authentication Administrator can delete any users including other administrators.
- If the deleted administrative unit had role assignments, those role assignments should have been removed before deleting the administrative unit.
Recommended path:
- Sign in to the Microsoft Entra admin center with another admin account.
- Ensure that account has one of these roles:
- User Administrator for supported user deletions
- Privileged Authentication Administrator to delete users including other administrators
- Go to Entra ID > Users.
- Select the user.
- Check Assigned roles and remove any direct role assignments if present by selecting the assignment and choosing Remove assignments.
- If the role assignment is indirect, remove the user from the group that has been assigned the role.
- Return to the user and select Delete user.
If the account used to delete the user does not have enough permissions, a higher-privileged administrator must perform the deletion or assign the required role first.
After deletion, the user appears under Deleted users for 30 days and can be restored during that time. Any licenses consumed by the user are made available for other users.
References:
- How to create, invite, and delete users
- Troubleshoot Microsoft Entra roles assigned to groups
- Can I delete a user that has a license assign? - Microsoft Q&A
- Trying to delete user in Entra ID but it says Failed to Delete User. The principal performing this request cannot delete itself. - Microsoft Q&A
- Create or delete administrative units