> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure DevOps

## Overview

> [card] [Pre-built tooling](#pre-built-tooling)

> [card] [Pre-built integrations](#pre-built-integrations)

> [card] [Access requirements](#access-requirements)

> [card] [Setup guide](#setup-guide)

> [card] [Useful links](#useful-links)

> [card] [API gotchas](#api-gotchas)

## Pre-built tooling

> [accordion] ✅ Authorization
>
> | Tools | Status |
> | - | - |
> | Pre-built authorization (Basic) | ✅ |
> | Pre-built authorization UI | ✅ |
> | Custom authorization UI | ✅ |
> | End-user authorization guide | ✅ |
> | Expired credentials detection | ✅ |

> [accordion] ✅ Read & write data
>
> | Tools | Status |
> | - | - |
> | Pre-built integrations | ✅ |
> | API unification | ✅ |
> | 2-way sync | ✅ |
> | Webhooks from Nango on data modifications | ✅ |
> | Real-time webhooks from 3rd-party API | 🚫 (time to contribute: \<48h) |
> | Proxy requests | ✅ |

> [accordion] ✅ Observability & data quality
>
> | Tools | Status |
> | - | - |
> | HTTP request logging | ✅ |
> | End-to-end type safety | ✅ |
> | Data runtime validation | ✅ |
> | OpenTelemetry export | ✅ |
> | Slack alerts on errors | ✅ |
> | Integration status API | ✅ |

> [accordion] ✅ Customization
>
> | Tools | Status |
> | - | - |
> | Create or customize use-cases | ✅ |
> | Pre-configured pagination | 🚫 (time to contribute: \<48h) |
> | Pre-configured rate-limit handling | 🚫 (time to contribute: \<48h) |
> | Per-customer configurations | ✅ |

### Others

| Function name | Description | Type |
| - | - | - |
| `create-pr-thread` | Add a comment thread to a pull request. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-pull-request` | Create a pull request. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-work-item` | Create a work item of a given type using JSON Patch. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-work-item` | Delete a work item by ID (moves to recycle bin). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-project` | Retrieve a single Azure DevOps project by ID or name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-repository` | Retrieve a single Git repository by ID or name. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-work-item` | Retrieve a work item by ID. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-boards` | List Kanban boards for a team. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-branches` | List Git branches (refs/heads) in a repository | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-build-definitions` | List build pipeline definitions in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-builds` | List builds in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-commits` | List commits in a Git repository with optional date/branch filters. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-iterations` | List sprint iterations for a team. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-pipeline-runs` | List runs for a specific YAML pipeline. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-pipelines` | List YAML pipeline definitions in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-pr-threads` | List comment threads on a pull request. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-projects` | List Azure DevOps projects in the organization. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-pull-requests` | List pull requests in a repository with searchCriteria filters. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-repositories` | List Git repositories in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-team-members` | List members of a team. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-teams` | List teams within a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-test-plans` | List test plans in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-wikis` | List wikis in a project. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `push-commits` | Push one or more file changes to a Git repository branch. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `query-work-items` | Run a WIQL query to get matching work item IDs, then hydrate fields in batches. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `queue-build` | Queue a classic build. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `run-pipeline` | Trigger a YAML pipeline run. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-pull-request` | Update a pull request (title, description, status, reviewers, etc.). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-work-item` | Update a work item using JSON Patch | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `branches` | Sync Git branches (refs/heads) across repositories | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `build-definitions` | Sync classic pipeline (build) definitions. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `builds` | Sync builds with incremental time-based filtering. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `commits` | Sync Git commits across repositories with incremental date filtering. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `iterations` | Sync sprint iterations for all teams | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `pipelines` | Sync YAML pipeline definitions | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `projects` | Sync all projects in the organization | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `pull-requests` | Sync pull requests across repositories with incremental status and date filtering | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `repositories` | Sync Git repositories across all projects | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `teams` | Sync teams across all projects | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `test-plans` | Sync test plans across projects | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `work-items` | Sync work items using WIQL ChangedDate filter, then hydrate fields in batches | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

## Access requirements

| Pre-Requisites | Status | Comment |
| - | - | - |
| Paid dev account | ✅ | Free tier available but with limitations |
| Paid test account | ✅ | Free tier available but with limitations |
| Partnership | ❌ | Not required |
| App review | ❌ | Not required |
| Security audit | ❌ | Not required |

## Setup guide

See the [connection guide](https://nango.dev/docs/integrations/all/azure-devops/connect) to get started.

> [!TIP]
>
> Need help getting started? Get help in the [community](https://nango.dev/slack).

> [!NOTE]
>
> Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/azure-devops.mdx)

## Useful links

* [Azure DevOps REST API documentation](https://learn.microsoft.com/en-us/rest/api/azure/devops)
* [Personal Access Tokens documentation](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate)
* [Azure DevOps Services REST API Reference](https://learn.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-7.1)

> [!NOTE]
>
> Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/azure-devops.mdx)

## API gotchas

* Personal Access Tokens (PATs) have a maximum lifetime of 1 year
* Rate limiting is applied based on multiple factors including type of request and load on the service
* Some APIs require specific scopes in the PAT to access
* Organization-level APIs require organization-level PATs

> [!NOTE]
>
> Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/azure-devops.mdx)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.