Move from Skype for Business Online Connector to the Teams PowerShell module
To move from using Skype for Business Online Connector to the Teams PowerShell module to manage Teams, you'll need to update your existing PowerShell scripts. This article explains how to do this.
Install the latest Teams PowerShell module. For steps, see Install Microsoft Teams Powershell.
Uninstall Skype For Business Online Connector. To do this, in Control Panel, go Programs and Features, select Skype for Business Online, Windows PowerShell Module, and then select Uninstall.
In your PowerShell scripts, change the module name that's referenced in
Import-Module
fromSkypeOnlineConnector
orLyncOnlineConnector
toMicrosoftTeams
.For example, change
Import-Module -Name SkypeOnlineConnector
toImport-Module -Name MicrosoftTeams
.
Note
Admins should continue to use New-CsOnlineSession and import the session before using Skype for Business Online cmdlets.
Related topics
Install Microsoft Teams Powershell
Manage Teams with Teams PowerShell
Teams PowerShell release notes