SharePoint Online: Connect Existing Team Sites to New Office 365 Group

Requirement:  A SharePoint Online team site (Classic / Modern Experience) users wants to  transform their existing site to Office 365 group to take advantage of Office 365 Group offerings such as Shared mailbox, Planner, Teams, etc.

How to Connect to New Office 365 Group in SharePoint Online?

When you create a new Office 365 group, there will be an associated SharePoint Team site is created automatically. In this case, we need a new Group with an existing team site. To start with, make sure connect to Office Group is enabled at the tenant level.

  • Login to SharePoint Online Admin Center >> Click on Settings from the left navigation
  • On the settings page, under “Connections from sites to Office 365 groups”, Set “Allow site collection administrators to connect sites to new Office 365 groups”.
    connect sharepoint site to office 365 group
Connect to new Office 365 group option missing?
This option is available in the classic sites and modern sites that are not already connected to an Office 365 group. Not all site templates can be associated with Groups (Not supported: BICENTERSITE#0, BLANKINTERNET#0, ENTERWIKI#0, SRCHCEN#0, SRCHCENTERLITE#0, POINTPUBLISHINGHUB#0, POINTPUBLISHINGTOPIC#0). Only the top level site can be connected to O365 groups, not subsites!

Now, you can connect your SharePoint Online sites to Office 365 groups. To connect an existing SharePoint Online site to a new Office 365 group, follow these steps:

  • Login to SharePoint Online site collection with Site collection administrator rights >> Click on the Settings gear icon >> Select “Connect to new Office 365 group”. You are now presented with an overview page with a quick explanation of what will be created by Office 365 for your site collection what’s going to happen by connecting your site to an O365 group. Click on “Let’s get
    started”sharepoint online connect to new office 365 group
  • Provide the information for your Office 365 group such as: Group name, Group email address, Privacy settings, etc., and then click on “Connect group”
    connect sharepoint classic experience site to office 365 group
  • Next, add any additional owners and members if you wish to do so, and click on “Finish”.
    connect sharepoint site to new office 365 group

The end result: Your SharePoint Online site will be updated with modern Home page! The site retains its URL, content, hierarchy, Settings remains the same. No permissions are altered – All existing permissions, site owners, members and visitors work without any interruption.

SharePoint Online: Connect to New Office 365 group using PowerShell

We can also use PowerShell cmdlet in SharePoint Online to connect to the group:

#Set Parameters
$SiteUrl = ""
$GroupName = "operationsGroup"
$GroupAlias = "operationsGroup"

#Connect to SharePoint Online
Connect-SPOService -Url $AdminCenterURL -credential (Get-Credential)

#Connect Team Site to Group
Set-SPOSiteOffice365Group -Site $SiteURL -DisplayName $GroupName -Alias $GroupAlias

Once the new Office 365 Group is created, It migrates the home page from classic experience to Modern team site and then provisions all related artifacts such as Exchange mailbox, Planner plan, etc. in Office 365.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

One thought on “SharePoint Online: Connect Existing Team Sites to New Office 365 Group

  • December 18, 2020 at 2:56 PM

    I manage multiple tenants, and i no longer see the option for “Connect to new Office 365 Group” on Modern team sites with no o365 group. Classic team sites do have a link for “Connect to new Microsoft 365 Group”. I tested your powershell script and it does in fact convert a modern non group connected team site to a group connected team site, however the admin center still shows the template as being Team site (no office 365 group). Nonetheless, this fulfills my requirement.

    I’d also like to thank you for your site and content, i’ve been referencing and using your scripts for years and they’ve always worked as stated. thank you very much for your efforts!


Leave a Reply