How to Convert SharePoint Online Site to Microsoft Teams?

Requirement: Convert SharePoint Online Site to Microsoft Teams.

Microsoft Teams is a chat-based collaboration platform that brings together people, conversations, content, and tools to create a more open, digital environment. Every time you create a new team in Teams, you’re also creating a new Office 365 Group, Calendar, OneNote, Planner, SharePoint team site, etc., and ties into other Office 365 cloud applications. And for every channel you create in Teams, a folder within a SharePoint document library is automatically created. Private channels create a new site collection for Microsoft Teams SharePoint integration.

How to migrate SharePoint Online Site to Teams?

You may have an existing SharePoint Online team site for a dedicated project or business function and use it to store documents and communication, and wants to take advantage of Microsoft Teams. Here is how you can convert your existing SharePoint Online team sites into Microsoft Team so that the files from the existing document library can be accessed in Microsoft Teams.

Prerequisites: Your existing SharePoint Online site must be group connected to be able to integrate with Microsoft Teams! If it is not already, Its a matter of few clicks through the settings menu link. Step-by-step instructions are here: How to Connect SharePoint Online site to Office 365 Group?

Option 1: Create a Microsoft Team from an existing SharePoint site

When you create a new modern SPO site with Office 365 Group, You’ll see the Microsoft Teams prompt on the site home page.

  • Navigate to the home page of the existing SharePoint Online team site >> Click on Create a team from the Microsoft Teams prompt in the bottom-left corner of the screen to add teams to SharePoint site.
    create team from SharePoint Online site
  • It spins the wheel with a “Creating Team” message for a while, and you’ll get a “Success! Click here to go to your Team” message Once your team is created. Clicking on it will take you to the Microsoft Teams app, and you can start collaborating with your new associated team. Also, it adds the “Teams” menu to SharePoint left navigation.
    microsoft teams and sharepoint online integration

Option 2: Create Microsoft Teams from an existing SharePoint Site using Teams App

What if you have closed the “Create a team” popup already in your SharePoint Site? You can convert the SharePoint Online site to Teams with Microsoft Teams application. Here is how:

  • Open Microsoft Teams Client application from your desktop >> Click on the “Join or create a team” link from the bottom of the Teams client application.
Convert SharePoint Online Site to Microsoft Teams
  • Click on the “Create Team” button under Join or create a team page >> Choose “Create from…” An existing Office 365 group or team
link sharepoint online to teams
  • Click on “Office 365 group”
convert sharepoint online site to teams
  • Select the Office 365 group of your existing SharePoint site and then click on the “Create” button.
migrate sharepoint online to teams

And your Teams should be ready shortly!

Option 3: Create Teams from SharePoint Online using PowerShell

We can migrate SharePoint Online site using PowerShell as well. Make sure you have the Teams PowerShell module installed before running this script: How to Install Microsoft Teams PowerShell Module?

Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking

$AdminCenterURL = "https://crescent-admin.sharepoint.com"
$SiteURL = "https://crescent.sharepoint.com/sites/legal"

#Get Credentials to connect
$Cred = Get-Credential

#Connect to SharePoint Online
Connect-SPOService -Url $AdminCenterURL -Credential $Cred

#Connect to Microsoft Teams
Connect-MicrosoftTeams -Credential $Cred

#Get the Site collection
$Site = Get-SPOSite -Identity $SiteURL

#Create Teams from the SharePoint Site
New-Team -GroupId $Site.GroupId.Guid
Creating Teams from SharePoint Online Site doesn’t replace it with teams! Instead, it connects them together for better collaboration! These steps only “Team enable” an existing SharePoint site. You can continue using it as usual.

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!

7 thoughts on “How to Convert SharePoint Online Site to Microsoft Teams?

  • hi Salaudeen – I am trying to convert/merge an existing Sharepoint site to an existing Teams page used for a community. With doing that, we can keep the existing design of the Sharepoint and add the benefits of Teams with it. Can you help me?

    Reply
    • You can use any Migration tools or PowerShell to copy the content from the existing SharePoint site to your Team’s SharePoint site! (But you can’t set an existing SharePoint site as your existing Team’s SharePoint site, ASAIK)

      Reply
  • I’m getting:
    New-Team : groupId coundn’t be found, groupId is invalid
    I did type -GroupId

    Reply
    • PowerShell is not case-sensitive, So that shouldn’t be a problem here. But make sure the SharePoint site is already group-connected!

      Reply
  • Thank you for this post!

    Reply
  • Hi Salaudeen, Great Post!

    Reply
  • Fantastic, this article has all information in fine detail.

    Reply

Leave a Reply