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, I have tried!   but they like moving emails around into different folders and we dont have cached exchange mode.

 

I also have DL's to change the email address for but they are sync'ed onpremise and other groups, can you easily change these with powershell  ?   

 

Thanks 

 

Simon 

  • 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

  • Jim Sepanik's avatar
    Jim Sepanik
    Copper Contributor

    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

    • timlempicki's avatar
      timlempicki
      Copper Contributor

      Jim Sepanik This worked perfectly. Thank you so much for providing this. It made my life much easier saving all the group emails.

       

      I find it interesting how much extra functionality there is if you are willing to use PowerShell.

    • TheHailender's avatar
      TheHailender
      Brass Contributor

      Hi Jim,

       

      thanks for this hint! It works for me....

       

      Bye

      Jens

      • MarioLemieux87's avatar
        MarioLemieux87
        Copper Contributor

        TheHailender 

        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.

  • Mmm...AFAIK, what you are asking for does not exist Today. By the way: have you tried the drag and drop capabilities you have in Groups? Is it not enough for your users?
    • SimonAllison's avatar
      SimonAllison
      Iron Contributor

      lost without a folder list , they don't get the drag and drop concept users never have, if they had a archive button, with archived conversations then maybe !  

      • VasilMichev's avatar
        VasilMichev
        MVP

        The only thing that comes close to migration is to do an eDiscovery search and use the resulting set to upload into a Shared mailbox. Or use some EWS-based script or 3rd party tool to do a "migration". But as Juan said, there's nothing built-in.

Resources