Microsoft 365 Groups Migrations FAQs

Configure Group Endpoint URLs

When configuring an Microsoft 365 Group endpoint, you must enter the Microsoft 365 Group site URL. The URL to be used will be one of two formats:

    • ​
    • ​

​Exclude the "/Shared%20Documents/Forms/AllItems.aspx" part of the URL.

To quickly find the SharePoint site URL for all Microsoft 365 groups for the tenant, execute the following remote PowerShell commands: The commands will need to be run as the global administrator of the target tenant.

$cred = Get-Credential​​​
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
Get-UnifiedGroup | fl Displayname,SharePointSiteUrl
​Remove-PSSession $session

Identify storage usage for Groups 

Identify the storage usage for Microsoft 365 groups in an Microsoft 365 tenant to ensure that you purchase enough licenses to successfully complete an Microsoft 365 group document migration.

The following commands will list all Microsoft 365 Groups including Microsoft Teams. If you are performing a Teams migration, you do not need to consider these. If a Teams migration will also occur, note which groups are Teams and exclude them from the Groups migration.

Follow these steps to identify storage usage for all groups in an Microsoft 365 tenant:

  1. Connect to Microsoft 365, Exchange Online and SharePoint Online PowerShell using global admin account credentials. See the Connect to all Office 365 services in a single Windows PowerShell window article from Microsoft to learn more.
  2. Once connected, run the following commands to export a CSV of the tenant's groups and storage usage to your C:\ drive's root folder:

$Groups = Get-UnifiedGroup
$Group = $_
$site=Get-SPOSite -Identity $Group.SharePointSiteUrl -Detailed
New-Object -TypeName PSObject -Property @{ GroupName=$site.Title
}}|select GroupName, SiteUrl, CurrentStorageInMB | Export-csv -NoTypeInformation c:\o365Groups.csv

  1. Open the "Groups" CSV file. The file lists all of the groups, document library URLs, and the current storage usage in megabytes.
Was this article helpful?
1 out of 4 found this helpful