Connect To Skype For Business Online Using PowerShell

In this article, I’ll show you how to connect to Skype For Business Online using PowerShell.

Like always, Before you start, please install the Windows PowerShell Module for Office 365.

Download Module

Once you have the PowerShell module for Office 365 please download the PowerShell module for Skype For Business Online.


Next, Install the module.


Now that we have all the required software and modules Installed, Use the code below to connect to the Skype For Business service.

Run PowerShell ISE as Administrator

Set-ExecutionPolicy unrestricted

Import-Module SkypeOnlineConnector

$cred = Get-Credential

$session = New-CsOnlineSession -Credential $cred -Verbose

Import-PSSession -Session $session


To view all available cmdlets type:

Get-Command -Module tmp_mmdx3k5r.cuh

To view all remote session type:


To close your PS session use:

Remove-PSSession 1

I have to say that the process is not as easy as Microsoft would like it to be and many admins.

Once you install all the modules the connection process is smooth and trouble-free.

Learning how to use the module is essential because many features can only be enabled and managed using the Shell

Success! You're on the list.