Home » Science & Technology » How to migrate Distribution Group from on-prem to Exchange Online

How to migrate Distribution Group from on-prem to Exchange Online

Written By Fun & Tech on Thursday, Feb 24, 2022 | 11:16 PM

 
Shows how to migrate the distribution group from on-prem to cloud using PowerShell. https://fun4alltechs.blogspot.com/2022/02/how-to-migrate-distribution-group-from.html import-csv .\DG.csv | foreach {New-DistributionGroup -name $_.Groupname -ManagedBy $_.managedby.Split(",") -PrimarySmtpAddress $_.mail -members $_.members.Split(",") -MemberJoinRestriction 'ApprovalRequired' -MemberDepartRestriction "Closed" -RequireSenderAuthenticationEnabled $false}