Microsoft

Azure Developer CLI: From Dev to Prod with Azure DevOps Pipelines

Aug 13, 2025PuiChee (PC) Chan
Azure Developer CLI: From Dev to Prod with Azure DevOps Pipelines
SummaryAI, from the source post

Introduced a multi-stage Azure DevOps YAML pipeline for implementing a 'build once, deploy everywhere' pattern using the Azure Developer CLI (azd). This includes stages for building and packaging, deploying to development, and promoting to production. The post details the use of pipeline artifacts for storing and retrieving build packages across jobs, replacing older file backup methods. It provides specific YAML snippets for installing azd, configuring authentication, packaging the application, provisioning infrastructure, and deploying to different environments. The post also covers setup steps for users, including project initialization, environment configuration, and pipeline setup via `azd pipeline config`.

More from the Azure DevOps Pipelines for Dev-to-Prod Promotion trail