Solved

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

Posted on 2014-02-09
7
2,751 Views
Last Modified: 2014-03-01
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
0
Comment
Question by:claudiamcse
  • 4
  • 2
7 Comments
 
LVL 7

Expert Comment

by:jimmithakkar
ID: 39846543
0
 

Author Comment

by:claudiamcse
ID: 39846556
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
0
 
LVL 39

Expert Comment

by:Vasil Michev (MVP)
ID: 39846570
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.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:claudiamcse
ID: 39847512
I see the mailbox with the get-removedmailbox command:

Is there a command I can recover it now?
0
 
LVL 39

Expert Comment

by:Vasil Michev (MVP)
ID: 39847578
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.
0
 

Accepted Solution

by:
claudiamcse earned 0 total points
ID: 39883680
Actually below is the command that you run to recover the mailbox after it was removed from recycle bin in Office 365:

Restoring User’s Mailbox command:
New-365Mailbox -Name "mailbox name" -RemovedMailbox "78114b1f-1b26-4c61-890b-a0da49aa3c2c" -MicrosoftOnlineServicesID username@domain.onmicrosoft.com -Password (ConvertTo-SecureString -String 'password' -AsPlainText -Force)

Run the following command “get-365RemovedMailbox” to get the values for GUID and MicrosoftOnlineSErvicesID
0
 

Author Closing Comment

by:claudiamcse
ID: 39897022
This was the solution
0

Featured Post

Why are Office 365 signatures so complicated?

Trying to setup transport rules for Office 365 email signatures and can’t quite figure it out? Having to test the signature over and over? Make things simple by using Exclaimer Cloud - Signatures for Office 365.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now