Visual Studio 2017 Não foi possível adicionar a conta

1

Instalou o 2017 VS Pro e não conseguiu efetuar login. Subiu com este erro.

Euolheiemvoltaeencontreiapenasumproblemasemelhantequedizpararemover:

%AppData%Local/.IdentityServiceEutenteialgumasvezes.

Eutambémtinhao2015VSinstalado.Nãoháproblemascom2015,maspenseiquepoderiatertidoproblemascom2017.Removidotodooanode2015eremovido2017.Reinstalado2017.Destavez,optandoporversãodaComunidade.Novamenteomesmoproblema.EuestoutentandoseconectaraoTFS,queeupossoatravésdeumnavegadordawebsemproblemas.

Dá-meaopçãodeloginnawebeseiqueonomedeusuário/senhaestácorreto.

Algumaideiadoquepossofazerparacorrigiresteerrodesconhecido?

Esteerrofoidatentativadeloginem"B".

Seeutentarfazerologinem"A", recebo este aviso.

Eurecebomaisalgunslinksdeinformaçõesparasolucionarproblemascomascredenciaisdeatualização,mastodosfalamsobreumtokenouproxyquenãoéomesmoproblemaqueeste.

Naopção"A", se eu fechar a caixa de erro, recebo este aviso final, mas, novamente, os resultados da pesquisa não mostram nada. Isso ligaria a esse problema.

Comonãoconsigofazerlogin,nãoesperariaquerecuperassenada.

Computadordiferente

Issoéinválido,poisoR2(removerereinstalar)mostrouisso.

Instalouoaplicativoemumcomputadordiferente,comumainstalaçãobastantenova.Notouumagrandemudançaemrelaçãoaocomputadorcomoproblema.

Apósainstalação,assimqueabrioprograma,elesolicitouumloginimediatamente.Euentreiantesdechegaràopçãode"A" ou "B". Assim que foi carregado, ele preencheu minhas credenciais automaticamente. Isso aponta durante a configuração, ele puxou credenciais locais que podem ou não estar no lugar. Vou começar removendo as credenciais locais e daqui em diante.

Credenciais

Não consegui encontrar nenhuma credencial do TFS no sistema. No entanto, tentei usar outra conta que nunca foi usada neste computador e que também se deparou com o mesmo problema.

Registros de \ AppData \ Local \ Temp \ servicehub \ logs

06/05/2017 15:15:16 : Error : CreateAccount: Creating an account. QueryParameters 'site_id=501454&display=popup&nux=1&lc=1033'
Account creation failed. 
Error: 'Microsoft.IdentityService.Clients.ActiveDirectory.AdalServiceException: unknown_error: Unknown error ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.HttpClientWrapper.<GetResponseAsync>d__29.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.IdentityService.Clients.ActiveDirectory.AdalHttpClient.<GetResponseAsync>d__21'1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AdalHttpClient.<GetResponseAsync>d__21'1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AdalHttpClient.<GetResponseAsync>d__20'1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AcquireTokenHandlerBase.<SendHttpMessageAsync>d__68.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AcquireTokenHandlerBase.<SendTokenRequestAsync>d__65.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AcquireTokenHandlerBase.<RunAsync>d__55.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenCommonAsync>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.IdentityService.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenAsync>d__49.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Developer.IdentityService.AccountProvider.NetworkServicesImpl.<AcquireTokenWithPromptAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderService.<CreateAccountAsync>d__19.MoveNext()
    ErrorCode: unknown_error
    StatusCode: 408'
    
por JustAGrump 02.06.2017 / 15:33

1 resposta

1

Este parece ser um problema conhecido que a Microsoft ainda está investigando. A última mensagem da Microsoft diz:

Sign in to visual studio 2015 in the top right hand corner should work, however File->AccountSettings->Add an account would not work. In vs2017 sign in and add an account would not work. The error seems to indicate some problem between internet explorer which is what is used for the sign in dialog, and something that changed in the last couple of month with the sign in flow using godaddy. I am still investigating what the actual error means in terms of what is failing inside of the browser to see if there is a fix on the visual studio side, or if one needs to be made with the single sign on provider.

Isso parece indicar um conflito com o provedor da conta. Não está claro para mim qual é o conflito, mas talvez você deva mudar seu provedor de e-mail.

Outro relatório de erros está relacionado a contas usado para o Azure, que você pode seguir se esse for o seu caso.

    
por 10.06.2017 / 16:22