Remove user access admin on dormant deleted account from subscription.

Bluw 0 Reputation points

PowerShell script to remove dormant account with user access administrator role

Azure Role-based access control
Azure Role-based access control
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.
520 questions
Microsoft Entra
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 27,481 Reputation points Microsoft Employee

    @Bluw ,

    If you use Powershell to delete the user, the user account isn't permanently deleted and will only get permanently deleted after 30 days have passed. There isn't a Powershell option for immediate permanent deletion.

    To permanently delete the user, you need to go to the Microsoft Entra admin center and sign in as a User Administrator > go to Identity > Users > Deleted users > select Delete permanently.

    User's image

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information.

    0 comments No comments