问题
I have downloaded the Skype Web SDK samples from here, but I can't make them work. I have registered a trial Office 365 account (dotnetsolutionsdemos.onmicrosoft.com
) and I have a user there (adam@dotnetsolutionsdemos.onmicrosoft.com
).
If I run the desktop version of Skype for Business then I can log in with my account so it seems that the Lync service does work.
I have installed the Skype for Business Web App Plug-in, put the sample code under IIS and opened it via a browser. Then I tried to sign in with my aforementioned account and it doesn't work. The ajax loader image is displayed and never disappears.
Upon inspecting the network traffic, I found the following:
There is a GET request to https://lyncdiscoverinternal.dotnetsolutionsdemos.onmicrosoft.com/xframe
which fails. The request fails with some name lookup failure or something, doesn't even return an HTTP response.
There is another request to https://lyncdiscover.dotnetsolutionsdemos.onmicrosoft.com/
which returns 403 Forbidden
.
Upon navigating to this address I find that the SSL cert doesn't match the URL.
I have tried it with IE/Chrome/Firefox, all the same. Also I haven't configured anything after registering the Office 365 account just used the default settings. As I said the desktop Skype for Business logs in just fine.
What am I doing wrong, how can I make this work?
Please find captured images below.
Network traffic:
Wrong cert:
回答1:
Currently the Skype Web SDK doesn't support Office 365 accounts - only on-premises or hosted (in a Data Center. etc.):
https://msdn.microsoft.com/en-us/library/dn705760(v=office.16).aspx
Microsoft have indicated that Office 365 will be supported, but haven't yet provided any public guidance as to when as far as I know.
I'd recommend keeping an eye on the MSDN forums for updates on when this will be supported.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=SkypeWebSDK&filter=alltypes&sort=lastpostdesc
来源:https://stackoverflow.com/questions/32201291/skype-for-business-web-sdk-samples-not-working