I am trying to connect to tfs in the cloud with the command line but i don't manage to authenticate.
I'm using "Microsoft Visual Studio 11.0\\Common7\\IDE\\TF.exe"
I'm using the alternate credentials described in https://tfs.visualstudio.com/en-us/home/news/2012/aug-27/
Like this :
tf workspaces
/computer:*
/format:brief
/collection:https://*****.visualstudio.com/DefaultCollection /login:****,****
But I get ... TF30063: You are not authorized to access https://*****.visualstudio.com/DefaultCollection.
Am I missing something?
I have tested this with my online tfs account able to reproduce the error you got.
Steps
Conclusion
I think the credentials are cached what ever credential we supply in the command line is ignored for team foundation service.
Further search took me to this link and I think it explains the same situation
For on premises TFS
The credentials provided in tf workspaces /login: 100% in effect
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.