Recover Deleted Office 365 Accounts on Microsoft Online

    This post has matured and may no longer be accruate, but we leave it here as it may still be useful. You might want to click on the associated category or tag to find something newer.

    Microsoft has some updated guidance on restoring Office 365 users that have been deleted…as long as it is within 30 days of deletion.

    You can find the accounts eligible for “undelete” by running the following powershell command:

    • Connect-MSOLService
    • Get-MsolUser –ReturnDeletedUsers

    To restore the user, you can use ONE of the following TWO commands:

    • Restore-MsolUser -ObjectId-AutoReconcileProxyConflicts -NewUserPrincipalName OR
    • Restore-MsolUser -UserPrincipalName-AutoReconcileProxyConflicts -NewUserPrincipalName

    Note – You will still need to recover the deleted user in Active Directory prior to restoring the used in Microsoft Online if you have DirSync/ADFS.

    Read more @> _

    Please check us out for your Managed Service or Cloud Consulting needs._