Azure DevOps (VSTS) setup

Tags: Flow


Below is a step-by-step guide on how to connect your Microsoft Azure DevOps to Flow.

Before you get started

Before you get started, please make sure that your system is supported. You are supported if:

  • You use git repos (TFVC repos are not supported and are not expected to be supported)

Azure DevOps configuration

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

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

Step 3: On the following page click Azure DevOps

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

  • Email - Email associated with the service account.

Tip: This field is case sensitive. Use the exact email format seen in your Azure user profile.

  • Personal Access Token (see below)
  • Base URL -{yourorganization} 
Tip: Even if your base URL in Azure Devops uses the domain, you will need to use the domain in the "Base URL" field in Flow for the connection to be successful.

Creating a personal access token

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

Step 1: Locate Personal access tokens under your user settings.

Step 2: On the Personal access token page click New Token.

Step 3: Fill in the following information for your new personal access token:

  • Name
  • Organization 
  • Expiration date
  • Scopes - Below find the minimum scopes required to connect your account.
    • Code: Read
    • Build: Read
    • Graph: Read
    • Identity: Read
    • Project and Team: Read
    • Work Items: Read

Step 4: Click Save.

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 you receive an “Authorization denied” error when trying to connect your Azure DevOps account verify access token and try again.

If you receive “An error has occurred” error verify that the email and base URL are correct and try again. 

Step 4: Once you have successfully connected to your Azure DevOps 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 Azure Devops 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.