Retirement of Skype for Business Online Connector

Back in December last year, Microsoft communicated that the Skype for Business Online Connector will be retired by February 15, 2021.

Microsoft Announcement MC230065

Well, that date is pretty much upon us. If you manage or deploy Enterprise Voice in Teams, you would have been using the SfB Online Connector to establish your remote PowerShell sessions. Therefore, this is quite an important part of Microsoft Teams voice. In case you haven’t already swtiched over to Teams PowerShell module, this is what you need to do:

  1. Uninstall Skype for Business Online module in Control Panel
    • You know the drill… go to Start\Control Panel… etc. etc.
  2. Check your current PowerShell version
    • Run the following command in an elecated PowerShell window
    • Get-Host | Select-Object Version
    • NOTE: Although the latest version is PowerShell 7, Microsoft recommend to use 5.1 with Teams Module due to some known issues with version 7.
  3. Update the PowerShellGet module
    • Run the following command in an elecated PowerShell window
    • Install-Module PowerShellGet -Force -AllowClobber
  4. Close and restart PowerShell window (elevated)
  5. Uninstall your current Teams module(s) – if you have any
    • Run the following command in an elecated PowerShell window
    • Uninstall-Module MicrosoftTeams
  6. Verify the removal
    • Go to this directory and make sure you DON’T see a “MicrosoftTeams” folder
    • C:\Program Files\WindowsPowerShell\Modules
  7. Find the latest version of Teams module
    • You can find the latest preview version by running the following command in PowerShell
    • Find-Module MicrosoftTeams
    • Optionally, if you want to try out the prerelease you can use the following command:
    • Find-Module MicrosoftTeams -AllowPrerelease
  8. Install Teams module
    • Run the following command in an elecated PowerShell window
    • For GA release:
    • Install-Module MicrosoftTeams -RequiredVersion “2.3.1”
    • For Preview release:
    • Install-Module MicrosoftTeams -AllowPrerelease -RequiredVersion “2.4.0-preview”
  9. Connect to a Teams tenancy
    • Once completed, you can connect to a Teams tenancy using the following lines of PowerShell
    • $session=New-CsOnlineSession -OverrideAdminDomain “”
    • Import-PSSession $session -AllowClobber -ErrorAction SilentlyContinue -WarningAction SilentlyContinue
    • UPDATE: With the latest MicrosoftTeams Module, the New-CsOnlineSession is no longer needed. In fact, it’ll actually give you an error if you try to run it. You now only need 1 line to connect and manage everything in Teams:
    • Connect-MicrosoftTeams

I hope I have been helpful. Thank you for reading!

Reference: Install Microsoft Teams PowerShell – Microsoft Teams | Microsoft Docs

Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create your website with
Get started
%d bloggers like this: