0

I can log into Visual Studio Online from the web interface but when I try and connect using the same set of credentials via GitBash (git push origin) or Visual Studio Team Explorer I get an error.

With Visual Studio its a server error of 500 and GitBash returns Authentication failed.

Any ideas what I could be missing?

Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
  • 1
    Did you set up alternate credentials? http://stackoverflow.com/questions/21808341/unable-to-authenticate-with-git-bash-to-visual-studio-online – Edward Thomson May 15 '15 at 15:35
  • No I didn't. But I don't want to login via GitBash. I'm happy to stick to Visual Studio but its not working with the credentials I use to login to the website. It used to. Every time I try a push from VS it brings up the log in box but the credentials don't work. – Ian Warburton May 15 '15 at 16:14
  • Are you logging into VSO using a microsoft account or a work account? I've heard of a few folks having trouble connecting with VSO from team explorer if they're using a work account. – Techtwaddle May 29 '15 at 09:28
  • A Microsoft account. – Ian Warburton Jun 01 '15 at 18:06
  • 1
    What version of Visual Studio are on on? Can you try enabling alternate creds, as suggested by Edward, and see if it works with GitBash. You will need to use basic auth with GitBash. Is your user id a live.com account? Btw, I just tried connecting with VS 2015 RC and it worked for me.. – Techtwaddle Jun 04 '15 at 04:43
  • I set up alternate creds and now I can push using GitBash but it still doesn't work from Visual Studio because my secondary username is not an email address. – Ian Warburton Jul 01 '15 at 15:51
  • My primary username is an email address I believe for live.com. – Ian Warburton Jul 01 '15 at 15:53

0 Answers0