---
sourceDocument: Brazil IT Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/it-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Azure DevOps PAT scopes for DevOps

# Azure DevOps PAT scopes for DevOps {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Azure DevOps PAT scopes for DevOps

This document explains the necessary Personal Access Token (PAT) scope access levels required to integrate Azure DevOps with ServiceNow DevOps.
Correctly setting these scopes ensures seamless functionality when connecting ServiceNow to Azure DevOps without manual configuration of webhooks or service connections by your Azure DevOps administrator.
Show full answer Show less  
Note that when onboarding projects or organizations, the PAT owner must have Project Administrators privileges at the project or organization level respectively.

## Scope Access Levels by Capability

Each Azure DevOps capability requires specific PAT scopes to enable ServiceNow to interact with corresponding Azure DevOps features:

* **Boards (Work items)** : Requires **Read** access to discover boards and retrieve work items via import, polling, or real-time webhooks.
* **Repos (Code)** : Requires **Read** access to discover repositories and receive branches, commits, and tags.
* **Build Pipelines** : Requires **Read \& Execute** access. Read access enables discovery and reception of pipeline execution details (stages, artifacts, test and security results). Execute access permits pausing/resuming pipelines during change control steps.
* **Release Pipelines and Gates** : Requires **Read, Write, and Execute** access. Read access enables discovery and receipt of release pipeline details. Write and Execute access allow pausing/resuming pipelines during change control.
* **Test Management** : Requires **Read** access to receive test results from pipeline executions.
* **Service Connections** : Requires **Read, Query, and Manage** access to automatically create service connections needed for ServiceNow tasks like change acceleration and artifact registration.
* **Packaging** : Requires **Read** access to discover artifact repositories and receive feeds and packages.

**Important:** The PAT owner must have the "Update build information" permission on the pipeline for all pipeline features to operate smoothly. Contact your Azure DevOps Project Administrator if this permission is missing.

## Limitations and Best Practices

If an Azure DevOps tool is initially created with custom access scopes and later reconfigured due to integration user credential changes, existing service hooks for release creation and deployment are not updated. Instead, new service hooks are created, potentially causing duplication.

To prevent duplicate service hooks, it is recommended to create the tool with **full access level** from the outset.  
Scope access levels are required when using a personal access token (PAT) to access Azure DevOps during setup.
Scope access level settings are based on the capability you have configured. Set the corresponding access level for seamless functionality. For information on creating a PAT, see [Personal access token (PAT)](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page).  
Important:  
With the access level permissions specified in the following table in Azure DevOps, and the ServiceNow DevOps extension, you can connect to Azure DevOps from ServiceNow. Your Azure DevOps admin does not have to manually configure webhooks and service connections in Azure DevOps.  
Important:  
* When onboarding a Project, the Project Administrators privilege requires the owner of the PAT to be a member of the project's Project Administrators group.
* When onboarding an Organization, the Project Administrators privilege requires the owner of the PAT to be a member of the organization's Project Collection Administrators group.
{#dev-ops-pat-scopes-azure__ul_kdb_f4d_cxb}  
{#dev-ops-pat-scopes-azure__table_pat_ado__entry__4}

| Capability | Scope | Access level | Impact |
|-|-|-|-|
| Boards | Work item | Read | Required to discover the boards and receive the work items either through import/polling or real time with a configured webhook. |
| Repos | Code | Read | Required to discover repositories and receive branches, commits, and tags either through import/polling or real time with a configured webhook. |
| Build pipelines | Build | Read \& Execute | * Read: Required to discover build and receive pipeline execution details like stages, artifacts, test results, code security results, etc., either through import/polling or real time with a configured webhook. * Execute: Required to pause/resume the pipelines based on the change control step. {#dev-ops-pat-scopes-azure__ul_m4g_q33_gvb} |
| Release pipelines and gates | Release | Read, write and execute | * Read: Required to discover release and receive pipeline execution details like stages, artifacts, test results, code security results, etc, either through import/polling or real time with a configured webhook. * Write and Execute: Required to pause/resume the pipelines based on change control step. {#dev-ops-pat-scopes-azure__ul_g1v_t33_gvb} |
| Test build and release pipelines | Test management | Read | Required to receive test results for pipeline execution. |
| Service Connections | Service connection | Read, query, and manage | Required to create Service connection automatically which is used to configure ServiceNow tasks like change acceleration, artifact and package registration, etc. |
| Packaging | Packaging | Read | Required to discover the artifact repositories and receive the feeds and packages either through import/polling or real-time with a configured webhook. |
[Table 1. Scope access level settings per capability and their impact]

{#dev-ops-pat-scopes-azure__table_pat_ado}  
Note:  
You must have the Update build information permission on your pipeline for all pipeline features to work seamlessly. Contact your ADO Project Administrator if you don't have this permission.

## Limitation of Azure DevOps {#dev-ops-pat-scopes-azure__section_jkx_wfp_gwb}

If you create an Azure tool with custom defined access level, and you reconfigure that tool because
of change in your Integration user credentials, then the existing service hooks for release created and release deployment aren't updated. Instead, two new service hooks are created with new configuration details. To avoid the
duplication of these service hooks, you must create the tool with full access level.

