# Inefficient Use of Azure Pipelines

Canonical: https://www.pointfive.co/efficiency-hub/inefficiencies/inefficient-use-of-azure-pipelines

[Cloud Efficiency Hub](https://www.pointfive.co/efficiency-hub) 

# Inefficient Use of Azure Pipelines

## Explanation

Teams often overuse Microsoft-hosted agents by running redundant or low-value jobs, failing to configure pipelines efficiently, or neglecting to use self-hosted agents for steady workloads. These inefficiencies result in unnecessary cost and delivery friction, especially when pipelines create queues due to limited agent availability.

## Relevant Billing Model

Azure Pipelines charges for Microsoft-hosted agents based on pipeline execution time. Public projects get 1,800 free minutes/month; additional usage is billed per parallel job. Self-hosted agents avoid Microsoft billing but require infrastructure and maintenance.

## Detection

- Review pipeline job execution history for unnecessary or duplicated stages

- Identify pipelines with high agent usage but low business value

- Check for frequent pipeline runs that could be conditionally suppressed

- Evaluate whether self-hosted agents exist but are underutilized

- Look for consistent agent queue delays, signaling insufficient capacity

## Remediation

- Audit and streamline pipelines to remove redundant or unnecessary stages

- Use conditional logic to limit execution of non-critical pipelines

- Prioritize agent capacity for pipelines supporting core or production workloads

- Consider introducing or expanding self-hosted agents for predictable builds

- Monitor and adjust agent pool size to eliminate queue backlogs

## Relevant Documentation

- [https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pools?view=azure-devops](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/pools?view=azure-devops)

- [https://learn.microsoft.com/en-us/azure/devops/organizations/billing/overview?view=azure-devops](https://learn.microsoft.com/en-us/azure/devops/organizations/billing/overview?view=azure-devops)

[Submit Feedback](https://hub.pointfive.co/inefficiencies/inefficient-use-of-azure-pipelines)

## At a glance

Reference

CER-0113

Cloud provider

Azure

Service

Azure Pipelines

Category

[Other](https://www.pointfive.co/efficiency-hub/service-category/other)

## Contributed by

- Orphéric Allagbe 

### Orphéric Allagbe

AWS Technical Program Administrator / NPOC ( National Point of Contact ) for AWS Academy Program @ Amazon Web Services (AWS)

[LinkedIn](https://www.linkedin.com/in/orph%C3%A9ric-allagbe-1863961b6/)

---
Source: the public page above. Product screenshots and illustrative interfaces are examples, not live customer data.

