Link to home
Start Free TrialLog in
Avatar of claudiamcse
claudiamcse

asked on

Can you recover mailbox in Office 365 after you removed it from recycle bin?

Hello,
I need help ASAP with recovering deleted mailbox in Office 365.

There was a problem with DirSync and UPN update, so we usually we run the following command to delete the account in the cloud and resync it, but the problem is that the mailbox was moved for this account.....so, now the mailbox is missing from the cloud:

Please help.

Below is the commands that were used to remove MSOL user:
remove-MsolUser -UserPrincipalName username@domain.onmicrosoft.com
Get-MsolUser -UserPrincipalName username@skymall.onmicrosoft.com -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin
Avatar of jimmithakkar
jimmithakkar
Flag of India image

Avatar of claudiamcse
claudiamcse

ASKER

Thanks so much. I tried that and didnt work since the user was removed from the recycle bin.....

other then recovering from backup of PST, is there anything else I can do to recover his mailbox
Avatar of Vasil Michev (MVP)
Check using the Get-RemovedMailbox cmdlet or via the EAC -> Recipients -> More (the three dots icon) -> deleted mailboxes. If it is still visible there, open a case with Microsoft and ask them to recover the mailbox to a UPN you specify.
I see the mailbox with the get-removedmailbox command:

Is there a command I can recover it now?
For a synced/federated user you need to recover the corresponding object in local AD and sync it back. Since O365 is a shared service, we have no access to some functionality and we have no way of linking mailbox to another user id (at least not as an built-in option). If you manage to escalate this to the corresponding team, Office 365 support can do it for you.

Few notes:

If you recover the account/mailbox without recovering the local AD object as well, it will again be removed after the next dirsync cycle. I believe you have already deleted this in AD and it's not an option?

If you only want to recover the contents of the mailbox, you can stop dirsync for a while, recover the object/mailbox and export it, then put dirsync back on. Again, once you put dirsync on, the mailbox will be deleted.

Alternatively, you can create a new object in AD, sync it, disable dirsync, remove the immutableID of the deleted object in WAAD and soft-match it.

Those suggestions are not really something Microsoft will recommend, as they might lead you into trouble. Try to get this escalated first IMO, and if they are giving you hard time, go with the dirsync stop/soft-match process.
ASKER CERTIFIED SOLUTION
Avatar of claudiamcse
claudiamcse

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This was the solution