I'm in the middle of migrating from one Microsoft 365 tenant to another. I've found some PowerShell scripts for migrating from on-premises environments to M365 groups, but I'm unsure if those will work for a tenant-to-tenant migration. I'm looking for a reliable PowerShell script that can help me export the distribution list information from the old tenant and then another script to recreate those lists in the new tenant. Any guidance on this would be greatly appreciated!
2 Answers
Just keep in mind that when moving between tenants, you'll probably need to handle some object mapping between the old and new settings. This could involve changes to the user principal names (UPNs) and email addresses as they might differ across tenants.
Absolutely, there's a way to get the distribution groups and their membership details. You can check out this useful resource: o365reports.com, which explains how to export the distribution group members into a CSV file. Once you have that CSV, you can use it to create the distribution lists in your new tenant. Just make sure to adapt your scripts for the new environment.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures