Welcome to the August 2025 edition of the Azure Developer CLI (azd) release blog! This post covers releases 1.18.1 and 1.18.2. To share your feedback and questions, join the August release discussion on GitHub.
This month brings important bug fixes, documentation improvements, and new templates from the community. Read on for highlights and details!
Bugs fixed
Key callout: PowerShell fallback support
We’re updating the hook engine to automatically fall back to Windows PowerShell 5.1 when PowerShell 7 (pwsh
) is unavailable. azd event hooks can run both PowerShell and Bash scripts, depending on your project and environment. With this update, if a PowerShell script is specified and pwsh
isn’t found, azd falls back to Windows PowerShell 5.1 (5570, 5585). This update allows event hook scripts to run even if PowerShell 7 isn’t available, but scripts that depend on PowerShell 7 features may still fail in PowerShell 5.1.
Other fixes include:
- Checks if a .NET project is an Aspire project before running it, preventing errors. [5501]
- Skips nonproject.v0 items in manifests so Visual Studio only publishes valid services. [5567]
- Shows clear suggestions when resource group or Container App errors happen during deployment. [5518]
- Avoids interactive login prompts in CI/CD environments for smoother automation. [5528]
- Fix invalid branch name characters when generating federated credential names. [5563]
- Keeps packages safe when using the
--from-package
flag withazd deploy
. [5445] - Fixes extension installation issues on Linux systems. [5531]
- Adds helpful error messages for containerd-enabled Docker package failures. [5385]
- Display warning message for legacy and limited Aspire projects. [5582]
New docs
The documentation team delivered a set of major updates to help you understand and manage environment variables and environments in azd projects:
- (NEW) Azure Developer CLI environment overview – a comprehensive guide to how azd environment variables work, how to set and use them, with practical examples and troubleshooting tips.
- (NEW) Work with Azure Developer CLI environments – how to create, manage, and switch between different environments using Azure Developer CLI (azd).
- (UPDATE) Resource Group Scoped Deployments – how to enable resource group scoped deployments.
- (UPDATE) Manage environment variables – expanded and clarified guidance on creating, managing, and using azd environments, including best practices for multi-environment workflows.
- (UPDATE) Reference documents for Azure Developer CLI – updated CLI reference reflecting the latest environment and variable management commands and options.
In addition to these documentation updates, we published a new blog post in our “Dev to production” series. If you read our first blog and are wondering how to achieve the same workflow using Azure DevOps, be sure to check out the second blog: Azure Developer CLI: From Dev to Production with Azure Pipelines.
New templates
Community-driven templates help you get started faster, solve real-world scenarios, and showcase best practices for deploying solutions with Azure Developer CLI.
The Azure Developer CLI template gallery continues to grow with exciting new contributions from the community. Thank you!
- Trainer-Demo-Deploy scenarios by petender:
- Azure Monitor custom logs, and external telemetry: this scenario deploys a Log Analytics workspace with a custom table to ingest logs and external telemetry by kareldewinter.
- API Management with ConferenceAPI and OAuth: deploy Azure API Management with OAuth2-Protected Conference API and Microsoft Entra ID Integration Using azd by rob-foulkrod.
- Microsoft Sentinel-based threat detection and response: this scenario aligns with the AZ-500 and AZ-104 paths and provides a demo solution for a proof-of-concept of Microsoft Sentinel-based threat detection and response by daveRendon.
- Introduction to Azure PostgreSQL and AI: Azure PostgreSQL & AI Demo offers step-by-step guidance for connecting, configuring, and integrating AI with PostgreSQL in Azure using modern tools by true-while.
- Purview templates by PramodKumarHK89. Two samples to showcase how Purview API can be integrated to audit and secure AI prompts and responses – available in TypeScript and Python:
Contributor acknowledgments
Thank you petender, kareldewinter, rob-foulkrod, daveRendon, true-while, PramodKumarHK89, and the Purview P4AI Team for their template contributions!
New to azd?
Welcome! You can use azd from:
- Your terminal of choice on Windows, Linux, or macOS.
- Visual Studio Code or GitHub Codespaces by downloading the extension from the Marketplace, or installing it directly from the extension view (
Ctrl
+Shift
+X
for Windows orCmd
+Shift
+X
for macOS) in Visual Studio Code. - Visual Studio by enabling the preview feature flag.
Learn more about the Azure Developer CLI from our official documentation. If you run into any problems or have suggestions, file an issue or start a discussion in the Azure Developer CLI repository. You can also reference our troubleshooting documentation.
We hope you enjoy exploring the latest features and improvements in this release. Try out the new templates, take advantage of the updated documentation, and let us know what you think! Your feedback helps us make azd even better for the developer community. Happy coding and azd up
!
0 comments
Be the first to start the discussion.