Skip to main content
Table of Contents

Connecting Azure Repos to LinearB

Connect Azure Repos to LinearB using a Personal Access Token (PAT) to sync repositories and Git activity.

Steven Silverstone
Updated by Steven Silverstone
Table of Contents

Use this guide to connect Azure Repos (Azure DevOps) to LinearB using a Personal Access Token (PAT).


Summary

What this guide covers

  • Creating a Personal Access Token (PAT) in Azure DevOps
  • Connecting Azure Repos to LinearB using your organization name and PAT
  • Troubleshooting common connection issues

Firewall requirements

If your organization uses firewall rules, IP allowlists, or geolocation-based conditional access policies, ensure that communication with LinearB is allowed.

LinearB uses the following NAT Gateway IP addresses for Azure DevOps and Azure Repos connections:

  • Inbound: 18.118.232.229, 52.15.80.85
  • Outbound: 35.226.140.92

If your organization restricts access based on IP address or geographic location, ensure these addresses are allowlisted before attempting to connect or reauthorize Azure DevOps.


Before you begin

  • Azure DevOps account with permission to create a PAT, and the Organization Owner or Project Collection Administrator level
  • LinearB Admin role
  • Access to the Azure DevOps organization you want to connect

Step 1. Generate a Personal Access Token in Azure DevOps

To connect Azure Repos, create a Personal Access Token (PAT) in Azure DevOps:

  1. Sign in to Azure DevOps.
  2. Open User Settings (top-right) and select Personal Access Tokens.
  3. Click + New Token.
  4. Enter a descriptive name.
  5. Set an appropriate expiration date.
  6. Assign the following permissions:
    • User Profile: Read (vso.profile)
    • Project and Team: Read (vso.project)
    • Code: Read (vso.code)
    • Build: Read (vso.build)
    • Graph: Read (vso.graph)
  7. Click Create and copy the token securely (it won’t be shown again).

For more details, see the Azure DevOps PAT Documentation .

Azure DevOps - Create a Personal Access Token (PAT)


Step 2. Connect Azure Repos to LinearB

After creating a PAT, connect it in LinearB:

  1. In LinearB, go to Settings → Company Settings and select the Git tab.
  2. Click Add Integration.
  3. Select Azure DevOps.

LinearB - Select Azure DevOps integration

  1. Enter your organization name.
  2. Paste your Personal Access Token (PAT).
  3. Click Connect.

LinearB - Enter organization name and PAT

After connecting, LinearB begins processing your Azure Repos data.


Step 3. Troubleshooting and support
  • Ensure the PAT has the required permissions.
  • Verify you are an organization owner or have Project Collection Administrator permissions in Azure DevOps.
  • If issues persist, contact LinearB Support or join the Dev Interrupted Discord Server .


Related guides

Need assistance?
Visit our HelpDocs Support Page.

How did we do?

Contact