Microsoft Skype for Business Online Connector EOL

In this post I want to highlight that Microsoft announced the end of life (EOL) of the Skype for Business Online Connector. It can be read in the Microsoft 365 Message Center notification MC230065 Skype for Business Online Connector retirement. The SFBO Connector was needed to connect to Skype for Business Online (SFBO) to run remote PowerShell cmdlets for SFB Online. However, this is no longer needed due to the fact that Microsoft has merged the SFBO cmdlets into the Microsoft Teams PowerShell module. You have time till February 15, 2021 to change and update your scripts to use the new Teams module if not done yet.

Source: https://cdn.pixabay.com/photo/2016/07/28/23/39/cottage-1550083_960_720.jpg

Connect to Teams and SFBO with PowerShell (Teams Module < V2)

Here, I put together how you can connect to Microsoft Teams and also use Skype for Business Online cmdlets. You might want to uninstall the SFBO connector module first to avoid cmdlet interferences.

#Example
#Connect to Teams and SFBO
#Download and install module from online repo
Install-Module MicrosoftTeams
#Import module
Import-Module MicrosoftTeams

#Connect Teams
Connect-MicrosoftTeams
#Connect SFBO
$sfboconnection = News-CsOnlineSession <youradminupn>
Import-PSSession $sfboconnection -DisableNameChecking -AllowClobber

###your script code###

#Disconnect sessions
Remove-PSSession $sfboconnection
Disconnect-MicrosoftTeams

UPDATE Connect to Teams and SFBO with PowerShell with Teams Module V2.0+

#Connect to Teams and SFBO
#Remove old Teams module (if applicable)
Uninstall-Module MicrosoftTeams -AllVersions
#Download and install module from online repo
Install-Module MicrosoftTeams
#Import module
Import-Module MicrosoftTeams
 
#Connect Teams
Connect-MicrosoftTeams
 
###your script code###
 
#Disconnect session
Disconnect-MicrosoftTeams

Additional resources

Comment / Kommentar verfassen

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.