Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Assume that you install Microsoft Windows PowerShell Module for Skype for Business Online (formerly Windows PowerShell Module for Lync Online) on a computer and install OCSCore.msi from Lync Server 2013 on the same computer. 

Note Windows PowerShell Module for Skype for Business Online is the latest version of Windows PowerShell Module for Lync Online.

Additionally, if you run the New-CsOnlineSession cmdlet, you receive a message that states that the New-CsOnlineSession cmdlet requires a -TargetServer parameter. In this situation, you cannot manage the Skype for Business Online deployment and Skype for Business user accounts by using Windows PowerShell.


To work around this issue, update OCSCore.msi with the hotfix from the download center here. If you are using older Windows PowerShell for Lync Online, you also need to upgrade it to latest version (version number 6.0.9276.0) from the download center here.

How to check the version of the Windows PowerShell for Lync Online module installed on the machine

  1. Open Programs and Features in Control Panel.

  2. Locate Microsoft Lync Online, Windows PowerShell Module, check the Version column.

    the screenshot for step 2

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?

Thank you for your feedback!