Table of Contents
Connect Azure Repos Using a Personal Access Token
LinearB allows you to integrate Azure Repos with your account using a Personal Access Token (PAT).
Updated
by Steven Silverstone
Follow the steps below to complete the connection.
1. Generate a Personal Access Token in Azure DevOps
To connect Azure Repos, you first need to create a Personal Access Token in Azure DevOps:
- Navigate to Azure DevOps and sign in.
- Click on your User Settings (top right corner) and select Personal Access Tokens.
- Click + New Token.
- Provide a descriptive name for the token.
- Set an appropriate expiration date.
- 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
)
- User Profile: Read (
- Click Create and copy the token securely (it will not be viewable again).
For further details, refer to Azure DevOps PAT Documentation.


2. Connect Azure Repos to LinearB
Once you have generated a Personal Access Token (PAT), you can integrate it with LinearB:
- Navigate to Settings > Company Settings, and select the Git tab.
- Click Add Integration.
- Select Azure DevOps as your source control provider.

- Enter the name of your organization.
- Paste your Personal Access Token (PAT) into the required field.
- Click Connect, and LinearB will begin processing your Azure Repos data.


3. Troubleshooting and Support
- Ensure the PAT has the correct permissions.
- Verify that you are an organization owner or have the required Project Collection Administrator permissions in Azure DevOps.
- If you encounter issues, contact LinearB Support or join our Dev Interrupted Discord Server for discussions on Git and DevOps.

Related Guides
- BitBucket Server (On-Prem) Connection Guide
- Connect GitLab with a Personal Access Token
- Microsoft Entra (Azure AD) - SSO Configuration
For additional support, visit our HelpDocs Support Page.
How did we do?
BitBucket Server (On-Prem) Connection Guide
Connect GitLab with a Personal Access Token (PAT)