Azure DevOps

Published on May 25th, 2026

Introduction

The Context Store has several Azure DevOps templated Data Sources to allow users to quickly pull relevant data into their Data Store.

These templates are a starting point and often you'll want to apply filters or chained Data Sources to modify these templates to suit your needs.

Authentication

The pre-built Azure DevOps Integration and Data Sources uses a Personal Access Token (PAT) in this integration (auth_type: basic).

Organizations

As the Azure DevOps default Integration uses PAT token and PAT tokens are tied to Azure DevOps organizations, you'll need an integration and set of Data Sources per Organization.

Pre-built Data Sources

This table lists the Azure DevOps API permissions needed for the Azure DevOps data source seeds currently defined in this repo.

Permissions below are expressed as PAT scopes.

Data source seedAzure DevOps endpoint(s) usedRecommended PAT scope(s)
Azure DevOps projectsGET /_apis/projects?api-version=7.0Project and Team (Read)
Azure DevOps repositoriesGET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/git/repositories?api-version=7.0Project and Team (Read), Code (Read)
Azure DevOps pipelinesGET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/pipelines?api-version=7.0Project and Team (Read), Build (Read)
Azure DevOps pull requestsGET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/git/pullrequests?searchCriteria.status=all&api-version=7.0Project and Team (Read), Code (Read)
Azure DevOps teamsGET /_apis/projects?api-version=7.0 then GET /_apis/projects/{projectId}/teams?api-version=7.0Project and Team (Read)
Azure DevOps service connectionsGET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/serviceendpoint/endpoints?api-version=7.1-preview.4Project and Team (Read), Service Connections (Read, query and manage)

NB: If your organization uses restricted project visibility, ensure the PAT identity also has access to the target projects.