Forum Discussion
SanbrobytheSea
Feb 25, 2025Copper Contributor
Converting Soft-deleted EOX Mailboxes to Inactive EOX Mailboxes
Hello.
In our organization we are prone to actioning PATI requests (Public Access to Information).
So when an employee leaves, we must retain the mailbox almost indefinitely.
Moving forward, an active retention policy that converts any un-licensed user or shared mailboxes into inactive mailboxes is in place.
What to do with the many soft-deleted mailboxes, is the question now.
Other than re-enable each mailbox with a license, then allowing the policy to work, is there a PowerShell script or scripts, that will convert the mailbox somehow from soft-delete to inactive?
Any ideas anyone?
Thanks in advance.
- meryjane97Copper Contributor
You might need to restore the soft-deleted mailboxes temporarily, apply a retention policy, and then let them become inactive. A PowerShell script using New-Mailbox Restore Request could help, but automating the process efficiently would likely require a combination of licensing and retention adjustments.
The only way to make a mailbox "inactive" is to delete the corresponding user account. There is no "conversion" process.
- SanbrobytheSeaCopper Contributor
Hello. Thank you for your response.
Deleting the corresponding user account will soft-delete the mailbox (30-day count down).
I assume you mean after I add a retention policy, or litigation hold to mailbox first.
Correct?
Yes, the mailbox must be on hold first.