Skip to main content
Personal Access Tokens grant access based on your Azure DevOps permissions. Copy the token immediately after creation, because Azure DevOps does not store it and you will not be able to see it again.

Collect your Azure DevOps details

A Personal Access Token and your organization name identify the Azure DevOps organization this connection uses.

1

Create a personal access token

Enables actions: Add Build Tag, Add Membership, Add Pull Request Label, Add User Entitlement, Add Work Item Comment, Create Build Definition, Create Classification Node, Create Dashboard Widget, Create Environment, Create Feed, Create Or Update Wiki Page, Create Pipeline, Create Policy Configuration, Create Project, Create Pull Request, Create Pull Request Reviewer, Create Pull Request Status, Create Pull Request Thread, Create Push, Create Query, Create Release, Create Release Definition, Create Repository, Create Service Endpoint, Create Service Hook, Create Team, Create Variable Group, Create Wiki, Create Work Item, Delete Classification Node, Delete Environment, Delete Policy Configuration, Delete Project, Delete Pull Request Reviewer, Delete Query, Delete Repository, Delete Service Endpoint, Delete Service Hook, Delete Team, Delete User Entitlement, Delete Variable Group, Delete Wiki, Delete Wiki Page, Delete Work Item, Delete Work Item Comment, Delete Work Item Tag, Download Attachment, Get Agent Pool, Get Backlog, Get Build, Get Build Changes, Get Build Definition, Get Build Log, Get Build Logs, Get Build Timeline, Get Build Work Items, Get Classification Nodes, Get Commit, Get Dashboard, Get Environment, Get Feed, Get Feed Permissions, Get Item, Get Iteration, Get Pipeline, Get Pipeline Artifact, Get Pipeline Log, Get Pipeline Run, Get Policy Configuration, Get Project, Get Project Properties, Get Pull Request, Get Pull Requests By Project, Get Query, Get Release, Get Repository, Get Service Endpoint, Get Subscription, Get Team, Get Tree, Get User, Get User Entitlement, Get Variable Group, Get Wiki, Get Wiki Page, Get Work Item, Get Work Item Comment, Get Work Item Tag, Get Work Item Type, List Agent Pools, List Agents, List Approvals, List Backlogs, List Boards, List Branch Statistics, List Build Artifacts, List Build Definitions, List Build Tags, List Builds, List Commits, List Dashboards, List Deployments, List Environment Deployment Records, List Environments, List Feeds, List Fields, List Forks, List Groups, List Items, List Iteration Work Items, List Iterations, List Memberships, List Merge Bases, List Pipeline Logs, List Pipeline Runs, List Pipelines, List Policy Configurations, List Policy Evaluations, List Projects, List Pull Request Commits, List Pull Request Iterations, List Pull Request Labels, List Pull Request Reviewers, List Pull Request Statuses, List Pull Request Threads, List Pull Request Work Items, List Pull Requests, List Pushes, List Queries, List Refs, List Release Definitions, List Releases, List Repositories, List Service Endpoints, List Service Hook Notifications, List Service Hooks, List Team Members, List Teams, List Test Plans, List Test Results, List Test Runs, List User Entitlements, List Users, List Variable Groups, List Widgets, List Wikis, List Work Item Comments, List Work Item Relation Types, List Work Item Revisions, List Work Item Tags, List Work Item Type Fields, List Work Item Types, List Work Item Updates, List Work Items By IDs, Preview Pipeline, Query Work Items (WIQL), Queue Build, Replace Service Hook, Run Pipeline, Search Code, Search Queries, Search Work Items, Set Feed Permissions, Set Project Properties, Update Approval, Update Classification Node, Update Environment, Update Feed, Update Policy Configuration, Update Project, Update Pull Request, Update Pull Request Reviewer, Update Pull Request Thread, Update Query, Update Refs, Update Repository, Update Service Endpoint, Update Team, Update User Entitlement, Update Variable Group, Update Wiki, Update Work Item, Update Work Item Comment, Update Work Item Tag, Upload Attachment

Sign in to Azure DevOps, then in the top-right corner open User settings > Personal access tokens.

  • Click + New Token.
  • Name: A name that identifies this integration
  • Organization: The organization you will connect
  • Expiration (UTC): The date the token expires, after which you need to create a new token
  • Full access: Select Full access. It covers every action, including webhook Service Hooks management.
  • Custom defined: Select Custom defined and Show all scopes, then select each scope listed.
  • Click Create.
Create a new personal access token panel with Full access selected and highlighted
2

Copy the Personal Access Token

The Success! screen shows your Personal Access Token.

  • Copy the Personal Access Token across.
Success dialog showing the one-time token value redacted with a copy button
3

Find your organization name

Your organization name appears in the top-left of the Azure DevOps organization home page and in the browser URL.

  • Copy the organization name across.
  • Format: https://dev.azure.com/{organization}
  • Example: if your URL is https://dev.azure.com/s1-sandbox, your organization is s1-sandbox
Azure DevOps organization home page with the organization name highlighted in the sidebar
4

Set the Project name for webhook scoping

The Project name (webhook scoping) field is optional, except for pipeline events, which Azure DevOps only allows within a project. Work item, git, pull request, and build events work without it and are delivered from all projects in the organization, or from one project when it is set.

  • Enter the project name exactly as it appears in your browser URL after the organization. It is the {project} segment of https://dev.azure.com/{organization}/{project}. For example, for https://dev.azure.com/my-org/my-project enter my-project.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Azure DevOps into StackOne.