user3953989
user3953989

Reputation: 1941

How to get fix "You are not authorized to access" accessing VS Team Services

I can open internet explorer and login just fine.

Credentials are saved in the credential manager.

Trying to access any tf.exe command results in a TF30063 error.

I do not have VS installed on this machine.

Any suggestions on what to try?

UPDATE:
Here are the step I've taken to get this error.


C:\>tf.exe status /collection:https://xxxxx.visualstudio.com/DefaultCollection
C:\>tf.exe workspaces /collection:https://xxxxx.visualstudio.com
C:\>tf.exe workspace /new /collection:https://xxxxx.visualstudio.com

I've also tried a few others and everyone of them return with the same unauthorized error.

These commands all work on another server that's connected to the same tfs repo with the same credentials, which leads me to believe it's something in IE and/or internet security options.

Upvotes: 4

Views: 2295

Answers (2)

Tomhans.J
Tomhans.J

Reputation: 440

To use tf.exe command, you need either Visual Studio or Team Explorer is installed. More details please refer Command-line tools for TFS

Upvotes: 0

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31093

Taking add files and folders to version control as example, you can specify the user account /login:username,[password] in the command:

tf add itemspec [/lock:(none|checkin|checkout)] [/encoding:filetype] 
[/noprompt] [/recursive] [/noignore] [/login:username,[password]] 

More commands, see: https://www.visualstudio.com/en-us/docs/tfvc/use-team-foundation-version-control-commands

Upvotes: 1

Related Questions