Trying to delete user in Entra ID but it says Failed to Delete User. The principal performing this request cannot delete itself.

Chris O 50 Reputation points
2024-11-21T02:35:27.24+00:00

Hi,

I'm trying to delete my Microsoft account and to do so I have to close my Azure account, however when I try to delete my Azure user it says, Failed to delete user. The principal performing this request cannot delete itself.

How do I solve this issue?

Thanks,

Chris O

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author
Sandeep G-MSFT 21,241 Reputation points Microsoft Employee Moderator
2024-11-21T05:34:41.0766667+00:00

@Chris O

As I understand you are trying to delete your Microsoft account from Entra ID. You are getting an error while doing that.

This is by design. You cannot delete your own account when you are logged in using your account.

To delete the user, you will have to login to Entra ID with another account which has roles assigned with permission to delete the user account.

For example, you will have to login with another account which has Global admin or user administrator role assigned and then you can delete any account in directory except the same account using which you have logged in.

let me know if you have any further questions.

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.