Forum Discussion
Mark Dobrzynski
Nov 07, 2016Copper Contributor
Migrating On-Prem Distribution Groups to Exchange Online in Hybrid Mode
I have come across a number of articles on migrating distribution groups to Office 365 when you're not in hybrid mode. My situation is having hundreds of DLs on my on-prem Exchange environment that I...
Simar
Sep 24, 2017Copper Contributor
Can you please elaborate more on, "how to export DL (on-premises) and then create in Cloud using PowerShell"?
Thanks!
TonyRedmond
Sep 25, 2017MVP
Use the Get-DistributionGroupMember to get the membership of the on-prem DL and then create the new DL inside Exchange Online (a cloud object) before populating its membership (Add-DistributionGroupMember) with the objects you fetched from the original DL. You can connect PowerShell to both the on-prem and cloud environments at the same time, so you can run these commands in a single session.