Team Foundation Server (TFS) setup

Tags: Flow


Below is a step-by-step guide on how to connect your TFS account to Flow. In order to make a successful connection please ensure you complete the following steps prior to Integrating with GitPrime.

  1. Whitelist GitPrime's static IP addresses on port 443 over HTTPS.
  2.  Valid SSL certificate that uses a public certificate authority (CA)
  3. You also need a public DNS record pointing to the IP address that is being exposed for GitPrime analysis.
Important: We strongly recommend you use a service account to create this Integration. Please see How to create a service account for instructions and information about why service accounts are important.

TFS configuration

Step 1: In order to connect your TFS account, you will need to first create a new integration. On your Flow home page, go to the top navigation bar and click Settings. Using the left navigation under Integrations, click Integrations.

Step 2: Select the Add Integration button in the top right hand corner of you integrations screen.

Step 3: On the following page select TFS from the Integration Provider list and click Next.

Step 4: On this page you will need to input the following information:

  • Email - Email associated with the service account.
  • Password - Password associated with the service account.
  • Personal Access Token (see below)
  • Base URL - https://{your_TFS_domain}/{yourorganization} 

Creating a personal access token

To create a personal access token in TFS follow the instructions below. 

Step 1: Locate Security under your gravatar menu.

Step 2: On the Personal access token page click Add.

Step 3: Fill in the following information for your new personal access token and click Create when finished.

  • Description
  • Expiration date
  • Scopes - Below find the minimum scopes required to connect your account.
    • Code (read)
    • Code (search)
    • Identity (read)
    • Project and team (read)
    • Service Endpoints (read and query)
    • User profile (read)
    • Work items search (read)
    • Work items (read)

Finalizing the connection

Now that you have created a personal access token you can complete your integration setup in Flow. 

Step 1: Copy your access token and paste it into the Flow Personal Access Token field. 

Step 2: Click Test connection.

Step 3: If the connection was successful you will see the following message:

If the connection was not successful, please verify your credentials and access token and try again.

Step 4: Once you have successfully connected to your TFS account, click Next.

Step 5: On the next screen you will be selecting the services you want turned on for this Integration. If you would like to import pull request and ticket data in addition to repo data, then leave all services on. You can turn services “on” and “off” at any time. Click Next.

Step 6: Name your integration so you can identify the account you connected with. Click Create.

Step 7: You have successfully created a new TFS integration.

Step 8: You can begin to import your repos by going to your repo import page. Click the repo import page link. To learn more about managing your new integration settings, see Manage integrations.

back to top

If you need help, please email for 24/7 assistance.