Forum Discussion
Is there a way to convert Office 365 group to Shared Mailbox easily? + DL's changing email address
- Dec 04, 2018
You should be able to delete group and then restore the mail into a new shared mailbox.
$deletedGroup=get-mailbox -SoftDeletedMailbox -GroupMailbox -Filter {name -like "o365groupname*"}
$targetuser=get-mailbox -Identity sharedbox@yourtenant.onmicrosoft.com
New-MailboxRestoreRequest -SourceMailbox $deletedGroup.DistinguishedName -TargetMailbox $targetuser.DistinguishedName -AllowLegacyDNMismatch -Verbose
To show the restore status
Get-MailboxRestoreRequest
You should be able to delete group and then restore the mail into a new shared mailbox.
$deletedGroup=get-mailbox -SoftDeletedMailbox -GroupMailbox -Filter {name -like "o365groupname*"}
$targetuser=get-mailbox -Identity sharedbox@yourtenant.onmicrosoft.com
New-MailboxRestoreRequest -SourceMailbox $deletedGroup.DistinguishedName -TargetMailbox $targetuser.DistinguishedName -AllowLegacyDNMismatch -Verbose
To show the restore status
Get-MailboxRestoreRequest
Hi Jim,
thanks for this hint! It works for me....
Bye
Jens
- MarioLemieux87Mar 20, 2020Copper Contributor
Hey, I know it's been a long time since you've done it but I'm wondering if you lost anything related to the group in Teams?
I have to migrate an O365 group to a shared mailbox but they've been working with Teams and have many files and conversations they want to keep... I don't want them to lose all of it.
Thanks.
- SimonAllisonApr 28, 2020Iron Contributor
MarioLemieux87 Hi Mario
I would setup a test scenario first, create another account and fill it with Teams Conversations and Files and then run the commands, the commands may have changed slightly though since I asked the question.