User Profile
chad512
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Recreate a mailbox for an existing user?
Here's what I'd like to do: A mail user is created an assigned a license at some point. The user may have been synchronized from on-prem or may have been created directly in Azure AD. At a later point, I want to recreate the user's mailbox without deleting the user so the user can start with a fresh mailbox. Here's what I've tried: Remove the user's license, verify the mailbox cannot be located by Get-Mailbox, add back the license. Result: the user is reattached to the same mailbox. Obviously this sequence happens within the 30-day retention period. Convert the mailbox to shared, remove the user's license, add back the license. Result: the user is reattached to the same mailbox, though it is still shared. Attempt to use Disable-Mailbox -PermanentlyDisable. Result: failure because the user is licensed. Remove the user's license and then attempt to run Disable-Mailbox -PermanentlyDisable. Result: failure because the mailbox cannot be found. I'm starting to think what I want to do is simply not possible, but I thought I'd fish for some fresh ideas since I'm out of them. One thought I had was to purge the deleted mailbox before the 30-day retention period is up, but I don't see a way to get a handle to it. Attempt to use Get-Mailbox with -IncludeInactiveMailbox and -SoftDeletedMailbox haven't located the mailbox for me.Solved22KViews0likes11Comments