How to add an account to Service Accounts Group in TFS?

When I start working with TFS Integration Platform, I face the following error:

So how to add my account or the account that will be used to run TFS Integration Platform for the Service Accounts Group?

You can’t add accounts using the UI so we need to run a command line

From TFS Server as the following

[code language=”xml”]
C:Program FilesMicrosoft Team Foundation Server 12.0tools>
TFSSecurity.exe /g+ “Team Foundation Service Accounts”
n:domainmradwan /server:http://vsalm
[/code]

From Visual Studio client machine Server as the following

[code language=”xml”]
C:Program FilesMicrosoft Visual Studio Server 12.0tools>
TFSSecurity.exe /g+ “Team Foundation Service Accounts”
n:domainmradwan /server:http://vsalm
[/code]

For collection, it will be as the following

[code language=”xml”]
C:Program FilesMicrosoft Visual Studio Server 12.0tools>
TFSSecurity.exe /g+ “Project Collection Service Accounts” n:domainmradwan
/collection:http://vsalm:8080/tfs/Defaultcollection
[/code]

Note: For sometimes you will have to type /server:http://vsalm:8080/tfs

Add account Service account group

Note: TFS Integration Platform 2012 can work with TFS 2013 but it needs the old object Model so just install Team Explorer 2012 or 2010 will solve the issue.

Share This: