However, if you want to permanently remove a deleted user in Office 365 you can use PowerShell. When you delete a user from the Office 365 control panel they are moved into a recycle bin for 30 days so that they can be recovered easily if the deletion was not intended.
See the newer version for details about how to remove Azure AD user accounts using the Microsoft Graph PowerShell SDK. The cmdlets below will be deprecated in March 2024.
Note: A newer version of this article is available.