Upgrade Multiple Users from SFB Mode to Microsoft Teams PowerShell

In this blog post, I will show you how to upgrade multiple users that are in Skype for Business island mode to teams.

This scenario is for companies that are still using SFB for chat and meetings.

Once they are upgraded, they will be able to use Teams for everything.

Connect to Skype for Business Online

To upgrade users, we need to use the Skype for Business PowerShell module, not Teams.

Below are the cmdlets that are needed to connect after installing the module.

Import-Module SkypeOnlineConnector
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession

CSV File

Since I have hundreds of users to upgrade, I am using a CSV file then looks like:

upn

User1@email_address

User2@email_address

Script

You can see the script below, simply change the CSV file name and run.

import-csv users.csv | foreach{ Grant-CsTeamsUpgradePolicy -Identity $_.upn -PolicyName UpgradeToTeams }

Processing…
Success! You're on the list.