Problems to install Skype for business online powershell module in windows 10

When I was trying to install the Skype for business online I was getting different errors, the first was
“must have C++ Redistributable (x64) – 14.10.25008 installed as a Minimum Runtime.”
while I was trying to install the module.

If I tried to import the module appears the follow error:
“import-module : the specified module ‘skypeonlineconnector’ was not loaded because no valid module file was found in any module directory.” 
The solution is download the latest supported C++, you can find it here:
After install, reboot the computer and you will be able to install the skype for business module without any problems.

To connect to Skype online, type the follow lines

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

and Listo!

to make sure that you have the module ready, you can type Get-CsOnlineUser Username, for example:

and you will see the properties for that user.

I hope it helps.
Advertisement

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s