Lync SDK app fails with "E_NOINTERFACE" error when it's run with Skype for Business 2016

Symptoms
You have Skype for Business 2016 installed, and you try to run an application that uses the Lync 2013 software development kit (SDK). However, the application fails and returns the following error:

Unable to cast COM object of type 'Microsoft.Office.Uc.SignInConfigurationClass' to interface type 'Microsoft.Office.Uc.ISignInConfiguration2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Cause
This issue occurs when there's a missing COM registration entry for Microsoft.Office.Uc.ISignInConfiguration2.
Resolution
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, create the following keys in your system registry:

HKEY_CLASSES_ROOT\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}
@="ISignInConfiguration2"

HKEY_CLASSES_ROOT\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}\ProxyStubClsid32
@="{00020424-0000-0000-C000-000000000046}"

HKEY_CLASSES_ROOT\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}\TypeLib
@="{B9AA1F11-F480-4054-A84E-B5D9277E40A8}"
"Version"="1.0"

HKEY_CLASSES_ROOT\Wow6432Node\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}
@="ISignInConfiguration2"

HKEY_CLASSES_ROOT\Wow6432Node\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}\ProxyStubClsid32
@="{00020424-0000-0000-C000-000000000046}"

HKEY_CLASSES_ROOT\Wow6432Node\Interface\{61CE9972-C619-4A88-A5D1-D2DFBCD4D2A1}\TypeLib
@="{B9AA1F11-F480-4054-A84E-B5D9277E40A8}"
"Version"="1.0"
Properties

Article ID: 3186696 - Last Review: 08/25/2016 17:40:00 - Revision: 2.0

Skype for Business 2016

  • KB3186696
Feedback