Skip to main content

Azure DevOps Connection

The Azure DevOps connection type enables automations to interact with Azure DevOps Services (cloud) or Azure DevOps Server (on-premises) — creating and updating work items, reading pipeline results, querying repositories, and triggering builds. Credentials are stored once and reused across any number of Azure DevOps-enabled workflow steps.

Connection Details

PropertyValue
Type IDAZURE_DEVOPS
CategoryDevOps / Version Control
TestableYes

Friendly Example

What you enterExample
Connection nameAzure DevOps - Release Board
Used forAutomatically creating work items from monitoring alerts and reading build pipeline status as part of an incident response workflow
Main details to collectOrganization URL and a Personal Access Token (PAT) with appropriate scopes
Best person to provide itAzure DevOps organization administrator

After it is saved, workflow builders select Azure DevOps - Release Board in a node instead of re-entering credentials each time.

Mandatory Fields

FieldWhat It MeansExample
organizationUrlFull URL of your Azure DevOps organization. For cloud this follows the pattern https://dev.azure.com/<org>. For on-premises Server use your internal base URL.https://dev.azure.com/contoso
personalAccessTokenA scoped Personal Access Token that authenticates all API calls. Encrypted at rest.xyzabc123...
PAT scope matters

A PAT with too many scopes is a security risk; one with too few causes 403 Forbidden errors. Create the PAT with only the scopes listed in the Setup Instructions section below.

Advanced Fields

FieldWhat It MeansExample
defaultProjectAzure DevOps project name pre-filled for workflow steps that do not specify a project explicitlyBackendPlatform
timeoutSecondsMaximum seconds to wait for an Azure DevOps API response before the connector raises a timeout error30

Setup Instructions

  1. Open Azure DevOps. Go to dev.azure.com (or your on-premises Server URL) and sign in with the account you want to use for the integration. Using a dedicated service account (e.g., automation@contoso.com) is strongly recommended so the PAT does not become invalid if the owner leaves.

  2. Open Personal Access Tokens. Click your user avatar in the top-right corner, then select Personal access tokens. On Azure DevOps Server, this setting is found under User Settings > Security > Personal Access Tokens.

  3. Create a new token. Click New Token. Fill in:

    • Name: something descriptive, e.g., Qinfinite Automation

    • Organization: select the organization this token should cover (or All accessible organizations if your automations span multiple orgs)

    • Expiration: set an expiry aligned with your security policy (90 or 180 days is common); set a calendar reminder to rotate it before expiry

    • Scopes: choose Custom defined, then enable only the scopes your automations require:

      ScopeRequired when
      Work Items — Read & WriteCreating or updating work items
      Code — ReadReading source repository contents
      Build — ReadQuerying pipeline and build results
      Release — ReadQuerying release pipeline status
  4. Copy the token immediately. Azure DevOps shows the full token only once. Paste it into the Qinfinite Personal Access Token field before closing the dialog.

  5. Save the connection in Global Configurator. Enter the organization URL and the PAT, then click Test Connection to confirm end-to-end connectivity before saving.

On-premises Server users

For Azure DevOps Server, your organization URL typically looks like https://tfs.contoso.com/tfs/DefaultCollection. Confirm the exact URL with your DevOps team — it varies by IIS site binding and virtual directory configuration.

Troubleshooting

SymptomLikely CauseFix
401 Unauthorized on every requestThe PAT is incorrect, expired, or was copied with extra whitespaceRegenerate the PAT in User Settings > Personal Access Tokens and update the connection
403 Forbidden on a specific operationThe PAT was created without the required scope, or the service account lacks access to the target projectCheck the PAT scopes and ensure the service account is a member of the target project with the appropriate permission level
404 Not Found when targeting a project or repositoryThe defaultProject name or the project key passed by a workflow step does not match an existing project in the organizationVerify the project name in Azure DevOps — project names are case-sensitive in the REST API
Test Connection succeeds but work item creation failsThe service account has read-only access to the projectGrant the service account the Contributor role in Project Settings > Permissions for the target project