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”.
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
- Provide the information for your Office 365 group such as: Group name, Group email address, Privacy settings, etc., and then click on “Connect group”
- Next, add any additional owners and members if you wish to do so, and click on “Finish”.
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 the 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.