Git-credential-manager-for-windows: Git Credential Manager not showing option for "Work" (Azure AD) Credentials

Created on 17 May 2017  路  3Comments  路  Source: microsoft/Git-Credential-Manager-for-Windows

Our organization has recently switched from using "personal" MS accounts to using Azure AD backed accounts for accessing our VSTS instance. This has gone pretty well, but on some PCs, the Git Credential Manager will not prompt for a "Work" account even after uninstalling and reinstalling both Git and the stand-alone GCM.

Using my work account in GCM with command-line Git works fine on my personal PC, but I cannot get the correct prompts to get my account working on a build server. I noticed that the working GCM prompt is taller and is labeled as "Work or school, or personal Microsoft account". The non-working GCM prompt is labeled as "Use your Microsoft Account". (see screenshots)

gitcredsprompt-personal
gitcredsprompt-work

azure-devops more-info-needed question

Most helpful comment

Have you tried entering your username@orignaization yet? In theory, Azure should redirect as appropriate.

If that's not working, try deleting your %localAppData%\GitCredentialManager\tenant.cache file. That keeps a persistent record of VSTS account and tenant associate to avoid the lengthy network look up call every time.

All 3 comments

Have you tried entering your username@orignaization yet? In theory, Azure should redirect as appropriate.

If that's not working, try deleting your %localAppData%\GitCredentialManager\tenant.cache file. That keeps a persistent record of VSTS account and tenant associate to avoid the lengthy network look up call every time.

I had previously tried entering my organizational email and password.

Deleting the tenant.cache file worked perfectly though! Thank you!

I'm glad to read that the problem of fahnzmode is closed and solved. Me self am in the hospital for the moment and was not be able to respond. Now I can testing a little bit with laptop but that's all. After I'm out here we will see how things are going. Sorry it took a while but my hands wer tied up.
Kind greets, Robert

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garretwilson picture garretwilson  路  5Comments

xt0rted picture xt0rted  路  5Comments

panuganti picture panuganti  路  4Comments

MythreyaK picture MythreyaK  路  5Comments

sirovermark picture sirovermark  路  3Comments