Skip to main content
All CollectionsConnector Setup
How to set up Azure Repos
How to set up Azure Repos
Updated over a month ago

Accessing source code in GitLab is what allows Foundational to accurately determine data lineage and analyze pending and historical pull requests.

This setup should take about 10 minutes.

Permissions: To create the necessary token, a user with Administrator permissions to all relevant projects is required. Edit Subscriptions and View subscriptions permissions are required.

On-premise agent supported

Start by going to Foundational's connectors page, click on Azure Repos, then Add new connection.

You can choose to integrate using OAuth, or a personal access token (PAT).

The on-premise agent configuration only supports a PAT.

OAuth Integration

Click on "Authenticate using OAuth", then follow the on-screen instructions.

Personal Access Token

  1. Log into Azure Devops, click on your profile picture -> ... -> User Settings -> Personal Access Tokens
    ​

  2. Click on the New Token button.

    1. Give it a distinctive name

    2. Choose the relevant organization, or select All accessible organizations

    3. Give it read permissions to Code and Build

    4. Click on Show all Scopes -> Give read & write permissions to Pull Request Threads

    5. Give it the longest expiration time allowed by your organization to avoid having to repeat this setup often.

  3. Copy the PAT to Foundational's connector's screen

On premise setting

Set the following environment variables to your on-prem-agent-loader:

  • Set your PAT in AZURE_DEVOPS_PAT.

Did this answer your question?