无法使用我的Microsoft帐户登录以注册Visual Studio 2017。 [英] Cant login with my Microsoft account to register Visual Studio 2017.

查看:426
本文介绍了无法使用我的Microsoft帐户登录以注册Visual Studio 2017。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 


我遇到以下问题。 输入我的凭据后,我收到此消息。 



发生错误,我们无法再检索该帐户的信息。重新输入您的凭据。(在Visual Studio 2017中 - 注册产品)


我已经在这个问题上苦苦挣扎了两天。  


在日志中我收到以下错误: 


System.Security.Cryptography.CryptographicException:必须与计算机建立信任以进行委派和当前用户帐户必须配置为允许委派。


'Microsoft.IdentityService.Clients.ActiveDirectory.AdalSilentTokenAcquisitionException:无法在缓存中找不到令牌而无法获取令牌。调用方法AcquireToken


我在Windows 2008 R2域环境中。 我的帐户是Domain Admin Group的成员。  Trus Delegation为域管理员启用。  


我将不胜感激任何帮助。 谢谢。 


Luis







我无法在评论中添加回复下文 所以我在这里添加它。 我在这个论坛上收到了一条意外的错误消息。 


回复


感谢您提供的信息,不过我之前尝试过这种解决方法并且没有成功。这就是我为解决这个问题所做的工作。


由于VS 2017还存在与此问题相关的其他问题。 一切似乎都与域帐户相关,并将PC加入Windows Server 2008 R2。    


相关问题: 


尝试时在Outlook 2016中添加IMAP帐户我收到错误代码0x8004011c 

尝试安装Dropbox时出现错误退出代码2  


解决方案。  


清理临时文件夹,系统文件和IE垃圾文件

https ://microsoftofficesupport.org/error-code-0x8004011c/


之后我按照这些步骤在注册表中添加ProtectionPolicy,如本文所述

https://dba.stackexchange.com/questions/178325/the-computer-must-be-trusted-for-delegation-and-the-current-user-account-must


执行这些步骤后,我能够注册VS 2017,安装Dropbox并配置Outlook 2016.  



最好的问候, 



Luis 





解决方案

您好Luis,


感谢您在MSDN论坛上发帖


请尝试按照以下步骤进行问题排查:


1)关闭vs的任何实例


2)删除%localappdata%\ .identityservice \ IdentityFateAdalCache.cache


3)重启VS


最好的问候,



Hello, 

I am having the following problem.  After enter my credentials I am getting this message. 



An error occurred and we can no longer retrieve information for the account. Re-enter your credentials.(In Visual Studio 2017 - Register Product)

I have struggling with this problem for two days.  

In the logs I am getting the following errors: 

System.Security.Cryptography.CryptographicException: trust must be established with the computer for delegation and the current user account must be configured to allow delegation.

'Microsoft.IdentityService.Clients.ActiveDirectory.AdalSilentTokenAcquisitionException: Failed to acquire token silently as no token was found in the cache. Call method AcquireToken

I am in a Windows 2008 R2 Domain Environment.  My account is member of Domain Admin Group.  Trus Delegation is enable for Domain Administrators.  

I would appreciate any help.  Thanks. 

Luis

I was not able to add a reply to the comment below.  So I am adding this here.  I was getting an unexpected error message in this forum. 

REPLY

Thanks for the information, nevertheless I have tried this workaround before and had no success. This is what I have done to fix the problem.

Since there are other problems related to this one with VS 2017.  Everything seems to be related with the domain account and joining the PC to a Windows Server 2008 R2.    

Related problems: 

When trying to add an IMAP account in Outlook 2016 I got Error Code 0x8004011c 
When trying to install Dropbox I got an error exit code 2  

Solution.  

Clean the temp folder, System Files and IE Junk Files
https://microsoftofficesupport.org/error-code-0x8004011c/

After that I follow these steps to add a ProtectionPolicy in the registry as stated in this post
https://dba.stackexchange.com/questions/178325/the-computer-must-be-trusted-for-delegation-and-the-current-user-account-must

After doing these steps, I was able to register VS 2017, install Dropbox and configure Outlook 2016.  

Best Regards, 

Luis 

解决方案

Hi Luis,

Thank you for posting in MSDN forum

Please try with following steps to troubleshoot:

1)Close any instances of vs

2) Delete%localappdata%\.identityservice\IdentityServiceAdalCache.cache

3)Restart VS

Best Regards,


这篇关于无法使用我的Microsoft帐户登录以注册Visual Studio 2017。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆