Azure DevOps
Published on May 25th, 2026Introduction
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 seed | Azure DevOps endpoint(s) used | Recommended PAT scope(s) |
|---|---|---|
Azure DevOps projects | GET /_apis/projects?api-version=7.0 | Project and Team (Read) |
Azure DevOps repositories | GET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/git/repositories?api-version=7.0 | Project and Team (Read), Code (Read) |
Azure DevOps pipelines | GET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/pipelines?api-version=7.0 | Project and Team (Read), Build (Read) |
Azure DevOps pull requests | GET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/git/pullrequests?searchCriteria.status=all&api-version=7.0 | Project and Team (Read), Code (Read) |
Azure DevOps teams | GET /_apis/projects?api-version=7.0 then GET /_apis/projects/{projectId}/teams?api-version=7.0 | Project and Team (Read) |
Azure DevOps service connections | GET /_apis/projects?api-version=7.0 then GET /{projectId}/_apis/serviceendpoint/endpoints?api-version=7.1-preview.4 | Project 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.