Connecting to SfBOL

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

Download the Module

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

Update: feel free to use my local copy as the module is no longer available at MSFT’s hosting. Download it from the button below and extract it.

from https://www.virustotal.com/

Connect to SfBOL from PowerShell

Open PowerShell as an administrator and execute below each none-commented lines

##########################################################

Import-Module "Path of the SkypeOnlineConnector.psd1"

#Path is something like.. 
#"C:\Users\John\Desktop\SkypeOnlineConnector\SkypeOnlineConnector.psd1"

$userCredential = Get-Credential

$sfbSession = New-CsOnlineSession -Credential $userCredential

Import-PSSession $sfbSession

##########################################################

Miscellaneous

Receiving error? “Unable to query AutoDiscover URL https://lyncdiscover….”

Unable to query Autodiscover URL https://lyncdiscover
##########################################################

Import-Module "Path of the SkypeOnlineConnector.psd1"

#Path is something like.. 
#"C:\Users\John\Desktop\SkypeOnlineConnector\SkypeOnlineConnector.psd1"

$userCredential = Get-Credential

$cssession = New-CsOnlineSession –Credential $cred –OverrideAdminDomain "ORGNAME.onmicrosoft.com"

#Orgname example is contoso.onmicrosoft.com

Import-PSSession $cssession

##########################################################

Need to connect to SfBOL using MFA?

Feedback or Help?

Should you have one, click here

Boring Ads. Pardon me :)