Git-Credential-Manager-for-Windows
                                
                                
                                
                                    Git-Credential-Manager-for-Windows copied to clipboard
                            
                            
                            
                        failed to find Identity Service for 'https://dev.azure.com/' via location service [404 Not Found].
Hi,
trying to clone a repos I'm getting systematically the following error: Error: cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory Error encountered while cloning the remote repository: Git failed with a fatal error. could not read Username for 'https://dev.azure.com': terminal prompts disabled
I enable got trace and get this error logs, where the only relevant error is: failed to find Identity Service for 'https://dev.azure.com/' via location service [404 Not Found].
My login name has a company / work and personal account and I select the work account. Tried to clear cache, delete windows credentials, \AppData\Local\GitCredentialManager. Nothing works. Any idea how to address this?
22:16:03.723662 ...\Common.cs:665       trace: [Main] git-credential-manager (v1.16.2) 'get'
22:16:03.796635 ...\Git\Where.cs:343    trace: [FindGitInstallations] found 1 Git installation(s).
22:16:03.800625 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 28 entries.
22:16:03.802635 ...\Common.cs:393       trace: [LoadOperationArguments] GCM_HTTP_USER_AGENT = 'git-credential-manager (Microsoft Windows NT 10.0.14393.0; Win32NT x64) CLR/4.0.30319 VS15/15.0.0'.
22:16:03.806636 ...\Common.cs:445       trace: [LoadOperationArguments] interactive = 'Auto'.
22:16:03.806636 ...\Common.cs:463       trace: [LoadOperationArguments] validate = 'True'.
22:16:03.806636 ...\Common.cs:479       trace: [LoadOperationArguments] modalPrompt = 'True'.
22:16:03.841637 ...\Common.cs:84        trace: [CreateAuthentication] detecting authority type for 'https://dev.azure.com/'.
22:16:03.852636 ...uthentication.cs:186 trace: [DetectAuthority] 'https://dev.azure.com/' is a member 'https://dev.azure.com/', checking AAD vs MSA.
22:16:03.943639 ...uthentication.cs:291 trace: [GetAuthentication] MSA authority detected.
22:16:03.992639 ...\Common.cs:182       trace: [CreateAuthentication] authority for 'https://dev.azure.com/' is Microsoft Live.
22:16:24.199446 ...zureAuthority.cs:111 trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/live.com', token acquisition for tenant [9cd80435793b4f48844b6b3f37d1c1f3] succeeded.
22:16:24.200454 ...Authentication.cs:83 trace: [InteractiveLogon] token 'https://dev.azure.com/' successfully acquired.
22:16:24.240458 ...zureAuthority.cs:303 trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://dev.azure.com/' via location service [404 Not Found].
22:16:24.241456 ...\Git\Trace.cs:139    trace: [WriteException] ! error: 'Failed to find Identity Service for https://dev.azure.com/.'.
22:16:24.241456 ...AzureAuthority.cs:98 trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://dev.azure.com/' failed.
22:16:24.241456 ...\Common.cs:773       trace: [QueryCredentials] credentials for 'https://dev.azure.com/' not found.
22:16:24.242474 ...\Common.cs:630       trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://dev.azure.com/'.
22:16:24.244474 ...\Program.cs:398      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
For those with failed to find Identity Service for in their logs: https://github.com/microsoft/Git-Credential-Manager-for-Windows/issues/858#issuecomment-521248756