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 tenant level.
  • Login to SharePoint Online Admin Center >> Click on Settings from left navigation
  • In 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
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 new an 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 about 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 https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-spositeoffice365group?view=sharepoint-ps in SharePoint Online to connect to group:
#Set Parameters
$AdminCenterURL="https://crescent-admin.sharepoint.com"
$SiteUrl = "https://crescent.sharepoint.com/sites/operations"
$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.

1 comment:

  1. 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!

    ReplyDelete

Please Login and comment to get your questions answered!

Powered by Blogger.