Connecting to S4BO

February 21, 2018 | by iaur | posted as Connect to M365 Services, PowerShell

Download the Module

Skype for Business Online, Windows PowerShell Module(Restart Required)

Connect to SFBO from PowerShell

Open PowerShell as an administrator

Import-Module SkypeOnlineConnector
$userCredential = Get-Credential
$sfbSession = New-CsOnlineSession -Credential $userCredential
Import-PSSession $sfbSession

Miscellaneous

Receiving error, “Lync discover issue”

Import-Module SkypeOnlineConnector
$userCredential = Get-Credential
$cssession = New-CsOnlineSession –Credential $cred –OverrideAdminDomain "ORGNAME.onmicrosoft.com"
Import-PSSession $cssession