Original product version: Office 365 Identity Management, Microsoft Entra ID, Cloud Services (Web roles/Worker roles), Microsoft Intune, Azure Backup
Original KB number: 3019157
Symptoms
When you try to remove a user from the recycle bin (also sometimes known as the Deleted Users container) in a Microsoft cloud service such as Microsoft Office 365, Microsoft Intune, or Microsoft Azure, you receive the following error message:
Remove-MsolUser: User Not Found
For example, you experience these symptoms when you run the following cmdlet:
Remove-MsolUser -RemoveFromRecyleBin
Cause
This problem occurs if the user who is performing the action is not a global admin.
Resolution
Take one of the following actions:
- Have someone assign the global admin role to you, and then remove the user from the recycle bin.
- Have a global admin remove the user from the recycle bin.
- Wait 30 days. Deleted users will remain in the recycle bin for 30 days. After 30 days, they are automatically removed from the recycle bin.
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
