Permanently delete a user from Office 365

Delete users from Deleted Users

  • Once a user is deleted from Active users (Office 355), the user account will be visible under Deleted Users
  • Unfortunately there is no way to delete the user from here using the UI
  • This is where you need PowerShell
  • Run “Windows Azure Active Directory Module for Windows PowerShell” as Admin
  • Connect to Office 365 MSOL Service | Connect-MsolService
  • Run this command to get a list of all the deleted users: get-msoluser –ReturnDeletedUsers

To remove one user from “Deleted Users”

remove-msoluser -userprincipalname deleteduser@domain.com -RemoveFromRecycleBin

To remove all users from “Deleted Users”

Get-MsolUser –ReturnDeletedUsers | Remove-MsolUser –RemoveFromRecycleBin –Force