Remove account after converting to shared mailbox?

If I have an O365 account that is either cloud or AD synced that had an assigned mailbox, can I convert it to shared and then I in assign the Exchange license and then delete the account without affecting the now shared mailbox?
garryshapeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

timgreen7077Exchange EngineerCommented:
No, you can't ever delete the user object, even with a shared mailbox. Also a shared mailbox in O365 doesn't require a license.
You can convert a normal user mailbox to a shared mailbox, which will disable the user object, but DO NOT delete the user object, and once converted you can remove the mailbox license because it's not required for shared mailboxes. Shared mailboxes don't need a license unless the mailbox has over 50GB of data.

https://docs.microsoft.com/en-us/office365/admin/email/remove-license-from-shared-mailbox?view=o365-worldwide
FOXActive Directory/Exchange EngineerCommented:
Garry if your desire is to ultimately get rid of the user account you can do the following
1.  Create a new shared mailbox in o365
2.   Using powershell connected to o365 Soft-Delete the user's mailbox by running    Remove-Mailbox "emailaddressoftheuser"  
3.   Wait about 20-30 minutes for the mailbox to soft-delete out
4.  Using powershell connected to o365 Run the below command to get the ExchangeGuid from the soft-deleted mailbox
Get-Recipient "emailaddressoftheuser" -IncludeSoftDeletedRecipients | Select Identity,*guid*
(if the soft delete process has finished the identity name will include soft deleted)
5.  Run the command again to get your exchange guid of your shared mailbox
Get-Recipient "emailaddressofthesharedmailbox" | Select Identity,*guid*

Once you have your ExchangGuids you will now import the mail from the softdeleted mailbox in to the shared mailbox with the following command

New-MailboxRestoreRequest -SourceMailbox "EnterExchangeGuidofSoftdeletedmailbox" -TargetMailbox "EnterExchangeGuidofSharedMailbox"  -AllowLegacyDNMismatch -AcceptLargeDataLoss -BadItemLimit Unlimited -LargeItemLimit Unlimited -verbose


Once you have imported it all the mail from the soft deleted mailbox you may now remove the user if you wish.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
garryshapeAuthor Commented:
awesome that is wonderful; thank you so much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.