简体   繁体   English

Skype for Business登录弹出窗口

[英]Skype For Business Login Popup

I have an application that uses Skype For Business in UI suppression mode. 我有一个在UI抑制模式下使用Skype for Business的应用程序。

When logging in using the following code (in UI suppressed): 使用以下代码登录时(不显示UI):

await Task.Factory.FromAsync((callback, stateObject) => _client.BeginSignIn(config.SkypeUserUri, config.SkypeDomainAndUsername, config.SkypePassword, callback, stateObject), _client.EndSignIn, null);

The application just hangs and never gets any further. 该应用程序只是挂起,再也无法继续使用。

If I try the same code without UI suppression. 如果我尝试相同的代码而没有UI抑制。 I'm seeing this pop-up password request. 我看到此弹出式密码请求。 Rather than the normal password window Skype For Business uses. 而不是Skype for Business使用的普通密码窗口。

在此处输入图片说明

It appears this pop-up is preventing the Skype From Business SDK from logging in. I have checked the credentials and everything seems okay. 似乎此弹出窗口阻止了Skype From Business SDK的登录。我已经检查了凭据,一切似乎都还不错。 I don't seem to be able to get past it. 我似乎无法摆脱困境。

Any ideas what is going on here? 有什么想法吗?

I believe this guy might be having the same issue: Lync Client SDK - Ui suppression - Client stuck at SigningIn State 我相信这个人可能遇到相同的问题: Lync Client SDK-Ui抑制-客户端停留在SigningIn状态

This happens if: 1) ModernAuthentication is enabled in your office365 tenant 2) EnableADAL = 1 if you are using SkypeForBusiness2015 client 2015 3) If you are using SkypeForBusiness2016 client 如果发生以下情况,则会发生以下情况:1)在office365租户中启用了ModernAuthentication 2)如果您使用的是SkypeForBusiness2015客户端2015,则EnableADAL = 1 3)如果您使用的是SkypeForBusiness2016客户端

Applicable only to SfB prior to 2016 HKCU\\SOFTWARE\\Microsoft\\Office\\15.0\\Common\\Identity\\EnableADAL If you want to bypass this pop-up, then you need to add EnableADAL registry key and set its value to 0. 仅适用于2016年之前的SfB HKCU \\ SOFTWARE \\ Microsoft \\ Office \\ 15.0 \\ Common \\ Identity \\ EnableADAL如果要跳过此弹出窗口,则需要添加EnableADAL注册表项并将其值设置为0。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM