To install the Lync 2013 Client SDK you need to have administrator rights to your computer. This works on Windows 10, Windows 8, Windows 7, Lync and Skype for Business desktop clients.
Why would you install the SDK? Because you can then play with some of the client settings such as presence states using PowerShell. How can you do that? Download and use this script. You can also use it with my Pomodoro PowerShell timer
How to installing the SDK without having to install Visual Studio
- Download the Lync SDK from this link, do not run the exe file
- To avoid the requirement to have Lync 2013 installed and the need to install Visual Studio, you need to extract the files using winrar
- You will then get two msi files
- Run the one that matches the bitness of your Office installation
- You have now successfully installed the Lync 2013 SDK
- Microsoft has not released a SDK for Skype for Business, but the Lync 2013 Client SDK works great
To get the most out of the use of the SDK, read my blog post on creating custom presence states that you can control using the PowerShell script mentioned above with the example below
Publish-SfBContactInformation -Availability "Available" -ActivityId available -PersonalNote "Getting Stuff Done" -Location "@HomeOffice"
After installing the SDK on a machine running Office 64 Skype for Business I’m seeing…:
PS C:\> Publish-SfBContactInformation -Availability “Available” -ActivityId available -PersonalNote “Getting Stuff
Done” -Location “@ThePoint”
Exception calling “GetClient” with “0” argument(s): “The host process is not running”
At C:\Program Files\WindowsPowerShell\Modules\PSProductivityTools\0.5\Functions\Publish-SfBContactInformation.ps1:73
char:5
+ $Client = [Microsoft.Lync.Model.LyncClient]::GetClient()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ClientNotFoundException
WARNING: Skype for Business client is not running or signed in, no action was performed