Monthly Archive June 20, 2016

Skype for Business Online (Office 365): PowerShell Remoting Cannot bind -TargetServer

With Lync Server 2013 Administrative Tools (OCSCore.msi) locally installed, execution of the following remote PowerShell statement to connect to Skype for Business Online will trigger a prompt for TargetServer as shown:

$session = New-CsOnlineSession -Credential (Get-Credential)

cmdlet New-CsOnlineSession at command pipeline position 1
Supply values for the following parameters:
TargetServer:
New-CsOnlineSession : Cannot bind argument to parameter ‘TargetServer’ because it is an empty string.
At line:1 char:12
+ $session = New-CsOnlineSession -Credential $credential
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [New-CsOnlineSession], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,New-CsOnlineSession

 

This happens even after you have installed the current version* of “Skype for Business Online, Windows PowerShell Module”.

To resolve this issue, make sure that you apply the latest version of Lync Server 2013 or patch/cumulative update described in KB2809243 over the out-dated version.

* version 9319.0 released 22 Jul 2015 as of this writing

REFERENCE
Using Windows PowerShell to manage Skype for Business Online (link)

Skype for Business Server and Flash Player (Desktop Experience)

If you do not want to inadvertently add Adobe Flash to your Skype for Business Server 2015 installation, a desktop application that serves no real purpose on your SERVER operating system (other than making it vulnerable from a security perspective), a review of my previous post* is in order.

This is important as various blog postings, including Microsoft’s #skype4b documentation on TechNet Library (link), continue to make the same (old) suggestion to install this “side application” as part of the prerequisites as of today.