Skip to main content

Azure DevOps integration

Connect Azure DevOps for both source control (Repos) and project management (Boards).

The Azure DevOps integration is a two-in-one: it covers source control (Azure Repos) and project management (Azure Boards) under a single OAuth connection. It supports the same DORA and flow metrics as the other source-control and planning integrations.


​

What Leanmote pulls from Azure DevOps


​

  • Repos: repositories, commits, pull requests, reviews.

  • Boards: work items, sprints, status history.

  • Pipelines: deployment events when configured (used for DORA).


​

Connect Azure DevOps


​

  1. Open Administration → Integrations.

  2. Find Azure DevOps and click Connect.

  3. Sign in with a Microsoft account that has access to the Azure DevOps organization you want to track.

  4. Authorize the requested scopes.

  5. Select the projects (covering both Repos and Boards) to include.

  6. Click Save.


​

Status mapping


​

Azure DevOps work-item categories (Proposed, In Progress, Resolved, Completed) are auto-mapped on first sync to Leanmote's four status kinds. You can override the mapping per status from the integration's card in Administration → Integrations.


​

Webhooks and pipelines


​

Webhooks are configured for repos and boards. For Pipelines-driven Deployment Frequency and Lead Time, you'll need to enable Service Hooks pointing at Leanmote's deployment endpoint — see the troubleshooting article for details.


​

Common issues


​

  • Boards data missing — confirm the project has Boards enabled (some teams disable it).

  • Mixed-mode orgs — orgs that use Azure DevOps Boards for some teams and Jira for others should connect both integrations and use team mapping to route data.


​

Connection details


​

Detail

Value

Connection type

OAuth 2.0 with Microsoft Entra ID (PKCE)

Who connects in Azure DevOps

A member of the Azure DevOps organization with read access to the projects and repositories. Depending on your tenant's policy, a Microsoft Entra admin may need to approve the app.

Who can connect in Leanmote

Owner, Manager or Team Leader

Write access

None. The app registration requests only read permissions. Organizations that consented before November 26, 2026 also granted vso.work_write, which Leanmote never used; it goes away when an administrator consents again or revokes the old grant.


​

Scopes requested


​

  • openid and profile — read the connecting account's identity, to match it to a Leanmote teammate.

  • offline_access — refresh the access token in the background so the integration keeps syncing without re-authentication.

  • 499b84ac-1321-427f-aa17-267ca6975798/.default — the standard Microsoft Entra "default" scope for the Azure DevOps resource. What it grants is set by Leanmote's app registration, not by the OAuth flow. Today that registration has these delegated permissions, none of which needs admin consent:

    • vso.code (read) — repositories, commits and pull requests.

    • vso.project (read) — projects and teams.

    • vso.work (read) — work items, iterations and team capacity.

    • Microsoft Graph User.Read — the connecting account's profile.


​

Related articles


​

  • Integrations overview

  • Connect your first integrations

Did this answer your question?