Change the Visual Studio Team Foundation Build Service Account


You may have picked the Network Service account during the installation of Team Build and now want to modify it to use a Domain Account.  The steps to perform this task are easy enough and I will go through them here:

  • On the Build Computer stop the Visual Studio Team Foundation Build Service
  • Edit the properties of the Visual Studio Team Foundation Build Service and select the Log On tab
  • Enter the account and password of the account you want to use to run the build service
  • Associate the default port to the new build service account using the wcfhttpconfig.exe command-line tool located in the following folder “C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies”
  • Execute wcfhttpconfig.exe reserve DOMAIN\UserAccount 9191 from the folder above.  If you fail to perform this step you will receive an “Access Denied” message when starting the service.
  • Start the Visual Studio Team Foundation Build Service
  • Add the new build service account to the Build Services security group for your Team Project

About Wes MacDonald

Wes MacDonald is a DevOps Consultant for LIKE 10 INC., a DevOps consulting firm providing premium support, guidance and services for Azure, Microsoft 365 and Azure DevOps.

One Response to “Change the Visual Studio Team Foundation Build Service Account”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: