This article shows you how to connect Office 365 to PowerShell. In the case where you want to delete that user before the 30 days are up, here’s how to use PowerShell to clean your recycle bin.
By default, when you delete a user, that user is placed in the Recycle Bin where their settings live for another 30 days before that user is permanently deleted, kind of like a soft delete. Say you’ve recently deleted some users in your Office 365 admin console.