Wednesday 6 January 2016

A cryptic story around Git, VSTS and Azure Active Directory

This is a short and easy tip with an interesting background.

If you try to push stuff to a Git repository hosted in a VSTS account, where this account is backed by Azure Active Directory and you are not logged on with the relevant credentials, you are going to get a quite cryptic error:

image
The Output window is not quite helpful either:

image 
What is going on here? The reason, as I stated, is simple – I wasn’t using the right credentials. But the problem is that Visual Studio is not warning me, while instead the command line would just ask for the credentials.
One of these things you need to just know, I assume Smile

No comments:

Post a Comment