Azure DevOps (VSTS) Setup

Updated 3 weeks ago by Jaala

Overview

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

At this time we support git repositories on Azure DevOps Services (i.e. cloud). Azure DevOps Server (on-prem) is not supported at this time, but check back often as it will be soon.

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 GitPrime Home page go to the left navigation bar. At the bottom go to Settings > 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 Azure DevOps

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

  • Email - Email associated with the service account.
  • Personal Access Token (see below)
  • Base URL - https://dev.azure.com/{yourorganization} 
Creating a Personal Access Token

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

Step 1: Locate Security under your gravatar menu.

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
    • 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 GitPrime. 

Step 1: Copy your access token and paste it into the GitPrime 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 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 repo import page. To learn more about managing your new Integration settings, see Managing Integrations.

Still having issues connecting your Azure Devops account? Email us at support@gitprime.com or click on the chat icon in the bottom right corner of your screen.


How did we do?