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:
- 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
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 @> http://support.microsoft.com/kb/2619308 _