Take the 2-minute tour ×

I'm migrating my team's CI from TFS to TeamCity.

As part of my build I need to update a few files and check the changes back to TFS. I've created a simple MSBuild script that checkout the files, update them and check the changes back in.

The script works great on my machine but when I run it fro TeamCity I get the following error: TF30063: You are not authorized to access ...

Is there a way I can run only the MSBuild step and another user? Is there a way to grant TeamCity's Agent the needed permissions to connect to TFS

share|improve this question
What are you checking in and out? –  James Woolfenden May 23 '12 at 14:31
add comment

1 Answer

up vote 3 down vote accepted

Did you add the Team City Agent account to the team project security groups in Team Foundation Server?

share|improve this answer
Not yet - probably what I'll do –  Dror Helper May 23 '12 at 9:55
add comment

Your Answer


