
PS C:\Scripts> Get-MsolUser –MaxResults 25 -ReturnDeletedUsers | Remove-MsolUser –RemoveFromRecycleBin -Force PS C:\Scripts> Remove-MsolUser –UserPrincipalName –RemoveFromRecycleBin –Force b) For Bulk Contacts PS C:\Scripts> Get-MsolUser –ReturnDeletedUsers #3 Remove the contact by the following command a) For Single Contact PS C:\Scripts> Connect-MsolService #2 See the list of all the deleted contacts that are present in the recycle bin with the help of below-mentioned command Enter the admin credentials of the Office 365 account in the dialog box. Procedure to Hard Delete Contacts from Office 365įollow the below-mentioned steps for permanently deleting contacts from Office 365 account: #1 Run Connect-MsolService for connecting to Azure Active Directory.
How to remove office 365 account install#
Since the default retention period is 30 days, you will have to wait for 30 days, before you can use the same UPN for the user after making changes.Īt such instance, permanent deletion of contact from the Active Directory recycle bin is the only way, with the help of which, a user can create the new contact with same UPN or SMPT address after making the required changes.įor proceeding with deleting the Office 365 contacts permanently, you need to fulfill the download and install Azure Active Directory Powershell. However, the user whose contact has been deleted need to use the same UPN or SMTP address after removing the issue in the display name. Created By Contacts in Recycle BinĬonsider a situation where an Office 365 user deletes a contact due to some issue in the display name of the contact. In case you have deleted the contacts intentionally and want to delete them permanently by removing from the recycle bin as well, you can do so with the help of Powershell.



However, after the retention period expires, the contacts cannot be restored anyhow. In case the deletion was unintentional, the user can easily restore the deleted contact from the recycle bin during this retention period. These deleted contacts stay in the recycle bin for a retention period of 30 days. When an Office 365 user deletes contacts from his account, the contacts are moved to the recycle bin.
