A guide to migrating security, distribution and Microsoft 365 groups — types, membership remapping, owners, nesting and the connected Teams/SharePoint workloads.
Groups look like simple objects — a name and a list of members — until you try to move them between tenants. Then three things bite at once: the members are new objects with new GUIDs, so membership must be remapped; the group type dictates entirely different handling; and some groups aren't just groups at all but the front door to a Team, a SharePoint site, and a shared mailbox. The real problem is that a naive "re-create the groups" approach quietly drops nested members, loses owners, and orphans the workloads the group was governing.
This guide covers all four group types and the remapping discipline that keeps them intact.
The type determines the migration path. Inventory and classify before you move anything.
Get-MgGroup -All -Property displayName,groupTypes,securityEnabled,mailEnabled,membershipRule |
Select-Object displayName,
@{n='Type';e={
if ($_.GroupTypes -contains 'Unified') {'M365'}
elseif ($_.SecurityEnabled -and $_.MailEnabled) {'MailEnabledSecurity'}
elseif ($_.SecurityEnabled) {'Security'}
else {'Distribution'}
}},
@{n='Dynamic';e={ if ($_.MembershipRule) {'Yes'} else {'No'} }} |
Export-Csv .\source-groups.csv -NoTypeInformation
Is it really free?
Yes — completely. No trial, no card, no catch. Enter your email and the full guide opens instantly.
Will you spam me?
No. We'll email your copy and, only if you opt in, the occasional genuinely useful migration tip. One click unsubscribes you for good.
Can I share it with my team?
Please do. Forward the PDF or send them the link — every teammate can grab their own copy.