Forum Discussion

SimonAllison's avatar
SimonAllison
Iron Contributor
Feb 02, 2018
Solved

Is there a way to convert Office 365 group to Shared Mailbox easily? + DL's changing email address

Is there a way to convert Office 365 group to Shared Mailbox easily using powershell, we dont want to loose the conversations either or is it too complex.     Users dont want an office 365 group,...
  • Jim Sepanik's avatar
    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

Resources