Skype For Business PowerShell Module Retirement

As many of you have seen the message Skype For Business PowerShell Module will stop working after June 30, 2021.

Commands have been merged with latest Teams Module but the command New-CsOnlineSession does not exists so breaking of script is evident.

For all my past Scripts where the Skype module is used, I have prefixed those with SOL as I do not want to get confused as on-premise was also using cs.

If you are using of my skype scripts, then you must update the code as shown below:

Option1: Just update the LaunchSOL code (I will be using this for backward compatibility and will update it in latest version of vsadmin module) – as of now it’s not working because of -prefix bug in latest module( I have logged a bug for it on Teams module project documentation and also logged a support ticket)

I hope soon they will resolve it, ones its resolved, I will update the solution code here.


Option2: Replace LaunchSOL code with connect-teams and replace SOL from any cmdlets.


Code to be replaced à
LaunchSOL -Domain $Domain -Credential $Credential

Replace with à
Connect-MicrosoftTeams -Credential $Credential


Code to be replaced à

Replace with à


Code to be replaced à
Grant-SolCsTeamsMeetingBroadcastPolicy -Identity $upn -PolicyName $liveventspolicy

Replace with à
Grant-CsTeamsMeetingBroadcastPolicy -Identity $upn -PolicyName $liveventspolicy


If you are using your own scripts then replace the authentication to Connect-MicrosoftTeams

For all new scripts we will just be using Connect-MicrosoftTeams without SOL prefix as SKYPE on-premise is no longer prevalent.


Thanks for reading….

Tech Wizard



Leave a Reply

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

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

Facebook photo

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

Connecting to %s