I am trying to create an automatic "get latest"-routine from our Visual Studio Online repository.
However, I have tried a number of examples but they all return:
TF30063: You are not authorized to access https://ourPath.visualstudio.com/DefaultCollection/
I even tried this console app, but it still returns the same error.
I can login through the browser using credentials. I am running out of ideas on how to connect and get the latest code.
If you can log in through the browser using those credentials, then they are not the alternate credentials that should be used in the answer to the question you referenced.
The credentials you typed in the browser is your Microsoft Account (formerly known as your Live ID). This is a shiny browser-based authentication experience that is incompatible with the
/login
flag totf.exe
.Instead, you need to set up alternate credentials for your account. However, this does not enable you to use
tf.exe
, as it does not support them. You will need to use either: