Office 365 Groups Migrations FAQs

Configure Group Endpoint URLs

When configuring an Office 365 Group endpoint, you must enter the Office 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 Office 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 Office 365 groups in an Office 365 tenant to ensure that you purchase enough licenses to successfully complete an Office 365 group document migration.

The following commands will list all Office 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 Office 365 tenant:

  1. Connect to Office 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:
    1. $Groups = Get-UnifiedGroup
    2. $Groups | Foreach-Object{
    3. $Group = $_
    4. $site=Get-SPOSite -Identity $Group.SharePointSiteUrl -Detailed New-Object -TypeName PSObject -Property @{ GroupName=$site.Title
    5. SiteUrl=$site.Url
    6. CurrentStorageInMB=$site.StorageUsageCurrent
    7. }}|select GroupName, SiteUrl, CurrentStorageInMB | Export-csv -NoTypeInformation c:\o365Groups.csv
  3. 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?
0 out of 2 found this helpful