Skip to content

Azure DevOps connects with OAuth 2.0 through Microsoft Entra ID, using Truto's Entra app or your own.

Install the Azure DevOps integration

Install Azure DevOps from Available integrations in each environment you connect accounts from.

Use your own Microsoft Entra app

Truto connects Azure DevOps accounts through its own Microsoft Entra app, so this step is optional. To show your own app on the consent screen instead:

  1. Register an app in Microsoft Entra ID and add https://api.truto.one/connect/azuredevops/callback as a Web redirect URI. If you use a redirect URL on your own domain, add that URL instead.
  2. Under API permissions, add the Azure DevOps delegated permissions you need, such as vso.project, vso.work_write, vso.build, vso.code and vso.graph.
  3. Create a client secret.
  4. Enter the app's Client ID and Client Secret under Use your own OAuth settings on the installed Azure DevOps integration. See Overriding OAuth credentials.

By default, Truto asks Azure DevOps for these scopes. The Connect UI lists them under Permissions required, and you can change them when you override the OAuth credentials.

  • openid
  • profile
  • email
  • offline_access
  • 499b84ac-1321-427f-aa17-267ca6975798/vso.project
  • 499b84ac-1321-427f-aa17-267ca6975798/vso.work_write
  • 499b84ac-1321-427f-aa17-267ca6975798/vso.build
  • 499b84ac-1321-427f-aa17-267ca6975798/vso.code
  • 499b84ac-1321-427f-aa17-267ca6975798/vso.graph

Enable the same scopes on your app. If your app allows fewer, change the list under Use your own OAuth settings → Scopes on the installed integration's Configuration tab to match.

Find your organization name

The organization name is the part of your Azure DevOps URL after dev.azure.com/. For https://dev.azure.com/acme, enter acme.

URL Azure DevOps

Connect an Azure DevOps account

Info

Users sign in with a Microsoft work or school account. Personal Microsoft accounts can't connect. Accounts connected before November 2026 must reconnect.

  1. In Integrated Accounts, click Connect Account. Click Connect Account
  2. Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Azure DevOps, pick it under Advanced settings → Integration (optional). Click Get connection link. Get connection link
  3. Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Azure DevOps account. The link works for 7 days, until an account is connected with it. Share connection link
  4. Click Get Started if it shows, then select Azure DevOps. Select Azure DevOps
  5. Enter the Organization Name, then sign in with your work or school account and allow access to Truto.
  6. Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.

Receive webhooks

Azure DevOps can send work item changes to Truto, which passes them on as unified record:* events.

  1. Install the Ticketing Unified API in the environment. Truto turns Azure DevOps events into record:* events only through it; without it, events are dropped.
  2. Subscribe a Truto webhook to record:created, record:updated and record:deleted, or all. See Creating a webhook.
  3. In the Azure DevOps project, go to Project settings → Service hooks → Create subscription, choose Web Hooks, pick a work item trigger, and set the URL to https://api.truto.one/integrated-account-webhook/<integrated_account_id>. Create one subscription per trigger. You need to be a project or project collection administrator. You can also create the subscription through the Proxy API service-hook-subscriptions resource.
Azure DevOps event Truto event
workitem.created record:created on ticketing/tickets
workitem.updated, workitem.restored, workitem.commented record:updated on ticketing/tickets
workitem.deleted record:deleted on ticketing/tickets

See Receiving vendor webhooks.