Export Azure DevOps Pipeline Run History to Excel

The Runs page shows a pipeline's history, but there is no download. When you need success rates or durations for a quarter, these are the options.

Option 1: Analytics OData in Excel or Power BI

Azure DevOps Analytics exposes a PipelineRuns entity at https://analytics.dev.azure.com/{organization}/{project}/_odata/v3.0-preview/PipelineRuns. Microsoft's sample reports filter it by pipeline and completion date and aggregate outcomes (succeeded, failed, canceled, partially succeeded) and durations. In Excel, connect with Data, Get Data, From OData Feed, and sign in with your organizational account.

This is the best route for trend reports across many pipelines. It needs Analytics enabled and the View analytics permission, and building the query takes some OData knowledge.

Option 2: the REST API

The Pipelines and Build REST APIs list runs with their result, times and the branch that triggered them. A short PowerShell or Python script can page through the runs and write a CSV. Useful when you want something the Analytics model does not carry, but you own the paging, token handling and column formatting.

Option 3: a browser extension

PR & Pipeline History Export for Azure DevOps adds a hub under Repos. You choose a date window and it writes a workbook with a Pipeline Runs sheet: run result, branch, reason, requested by, queued, started and finished times, and duration, as real Excel dates and numbers. The same workbook has pull requests and test runs with their pass rates, plus a Summary sheet. It runs in your browser with your session and read-only scopes, with no PAT and no server.

Making the numbers mean something

  • Success rate: count runs by result per pipeline with a pivot table. Exclude canceled runs or report them separately, or a busy morning of superseded runs drags the rate down.
  • Duration: use finish minus start for build time, and start minus queued for time waiting for an agent. A rising queue time is an agent capacity problem, not a slow build.
  • Trend: group by week rather than day; daily numbers on a small team are mostly noise.

Run history as a workbook

Free exports the last 30 days and the first 200 rows per sheet. Pro removes both limits for US$10/month per Azure DevOps organization.

See PR & Pipeline History Export for Azure DevOps Install from Visual Studio Marketplace

I'm the developer of PR & Pipeline History Export for Azure DevOps, so weigh this guide accordingly. Azure DevOps, Microsoft Word and Microsoft Excel are trademarks of Microsoft. This extension is independent and is not affiliated with or endorsed by Microsoft.