Forum Discussion
Inadvertently hard deleted a mailbox?
- Jul 09, 2018
Unfortunately, once you released the hold that was keeping your mailbox in an inactive state, you made it eligible for hard deletion (permanent and irrecoverable removal). It's impossible for Microsoft support to say when a mailbox will disappear because that depends on background processes running on the mailbox server where the active copy of the database holding the mailbox is. I am afraid you are toast. Or rather, your mailbox has made its way to the great byte wastebasket in the sky...
UPDATE!
After re-licensing the user, the mailbox came back to life!
I´m still astonished on this (I had really given up hope), but it seems somehow the mailbox information was kept either on the cloud, or on the onprem exchange server.
It´s a hybrid enviroment, I forgot to mention that! A crucial piece of information, it seems?
Regards!
- TonyRedmondJul 10, 2018MVP
I think you've just illustrated the problems of trying to debug problems in a forum like this. Without being able to run PowerShell inside your tenant, it's hard to form a full picture of what's going on.
Deleted mailboxes are kept in a soft-deleted state for 30 days. During this time they can be automatically reattached to an account if you assign that account an Exchange Online license. It looks as if the mailbox was not deleted recently, so it was available to be reattached (GUIDs connect the mailbox to the account). It's kind of interesting that Microsoft support wasn't able to find this.
- Ivan BarrosJul 10, 2018Copper Contributor
Hey Tony,
I understood that, I was just doing my best effort by using all the available resources in solving this issue.
The internal escalation approach within my company was fortunately not discarded (the proof that two people can look at a problem with a different perspective is adamant in this situation).
"Deleted mailboxes are kept in a soft-deleted state for 30 days. During this time they can be automatically reattached to an account if you assign that account an Exchange Online license. It looks as if the mailbox was not deleted recently, so it was available to be reattached (GUIDs connect the mailbox to the account)"
This is where things get curious. We triple-checked and fact of the matter is, the mailbox was not found in a soft deleted state. The command:
Get-Mailbox -SoftDeletedMailbox -Resultsize unlimited | FL Name,WhenSoftDeleted,DistinguishedName,ExchangeGuid,PrimarySmtpAddress | export-csv c:\temp\softdeletedmailboxes.csv
Did not show the affected mailbox.
Neither did this one:
Get-Mailbox -InactiveMailboxOnly -resultsize unlimited | FL Name,DistinguishedName,ExchangeGuid,PrimarySmtpAddress | export-csv c:\temp\inactivemailboxes.csv
We also checked for deleted mailboxes via Exchange online GUI.
What gives?
Thanks!
- DeletedJul 10, 2018But you said you checked -softdelete flag for mailbox? Anyway. That’s good to hear!