This post shares the details of the latest changes to the Azure Developer CLI (azd
) in release 1.17.1 and 1.18.0. We invite you to join our July release discussion on GitHub with questions and comments.
This month’s release focuses on enhancing developer experience with significant improvements to project validation, AI functionality integration, and authentication capabilities. The team made important reliability improvements and dependency updates to keep azd
secure and performant.
Let’s dive into what’s new with azd
this month.
New features
Enhanced Project Validation
We improved project name validation to prevent service packaging failures caused by invalid characters. This enhancement [5380] helps developers catch potential issues early in the development process, reducing deployment errors and improving the overall developer experience.
Generic OIDC Authentication Support
We expanded authentication capabilities by adding support for generic OIDC authentication with any CI provider [5397]. This enhancement provides greater flexibility for teams using various continuous integration platforms beyond the traditionally supported providers.
Improved User Experience
Improved user experience with a new confirmation prompt before setting a new environment as the default [4832]. This change prevents accidental environment switches and gives users more control over their configuration.
Enhanced Metadata Support
azd
now supports boolean and integer default values in azd metadata fields [5384], providing more flexibility in project configuration and reducing the need for manual input during project setup.
Metadata Field Regression Fix
- Parameter Prompting: Fixed regression where prompting for boolean or integer fields without default values wasn’t working correctly [5386]
Deployment Packaging Improvements
Added new support for .webappignore
and .funcignore
files to zip deployment packaging [5383]. This feature allows developers to exclude specific files and directories from deployments, reducing package sizes and improving deployment performance.
Interactive Hooks Enhancement
Updated the azd hooks run
command to always run hooks in interactive mode with improved schema validation [5430], making it easier to debug and test custom hooks during development.
Static Web Apps CLI Update
azd
now ensures it always uses the latest static-web-apps CLI npm package [5203], keeping your deployments current with the newest SWA features and improvements.
Terraform OIDC Support
Added support for Terraform with OIDC authentication in pipeline configuration [5270], enabling secure infrastructure deployments without storing long-lived credentials.
Streamlined Project Initialization
The project initialization experience was improved by combining “Create a minimal project” with “Scan current directory” options, along with a new --minimal
flag [5280], making it easier to get started with new projects.
Enhanced Environment Management
The azd env set
command now accepts multiple key-value pairs [4942], allowing you to configure multiple environment variables in a single command for improved workflow efficiency.
Compose CI/CD Improvements
Introduced AZURE_PRINCIPAL_TYPE
environment variable to conditionally set user-only role assignments in compose scenarios [5285], providing better control over Azure permissions in CI/CD pipelines.
Subscription Management Enhancement
Added case-insensitive sorting for subscriptions [4969], making it easier to find and select subscriptions regardless of naming conventions.
Bugs fixed
Error Handling Improvements
Several error handling improvements shipped with this release:
- Bicep Parameter Security: Fixed panic when encountering Bicep secure output parameters [5478]
- PowerShell Integration: Fixed PowerShell 7 suggestion text not showing for service-level hooks [5468]
- Deployment Stack Validation: Fixed preflight error handling for deployment stack validation [5470]
Environment and Authentication Fixes
- Parameter Evaluation: Fixed Bicep parameter evaluation to properly inject environment variables before deployment [5446]
- Azure DevOps Authentication: Fixed nil pointer error when checking credentials for Azure DevOps authentication [5459]
.NET Aspire Improvements
- Manifest Processing: Improved handling of unrecognized expressions in Aspire manifest files [5434]
Other changes
Development Workflow Improvements
- CI Optimization: CI workflow now cancels obsolete workflows when new commits are pushed in open PRs [5471]. Thank you @kitsiosk for the contribution!
- Help Documentation: Improved help description for
azd provision --no-state
[5420] - Tag Handling: Fixed null tags handling in deployment stack operations [5372]
Infrastructure and Tooling Updates
- Resource Output Enhancement: Added Microsoft.Automation/automationAccounts to resources for output [5378]
- GitHub CLI Update: Updated GitHub CLI version to 2.75.1 [5461]
- Bicep CLI Update: Updated Bicep CLI version to 0.36.177 [5443]
New docs
We published several new documentation articles on Microsoft Learn.
Azure Container Apps deployment strategies
Learn about different deployment workflows and strategies for Azure Container Apps using azd
. This comprehensive guide covers blue/green deployments, rolling updates, and other advanced deployment patterns.
View Documentation
Remote build support
Discover how to use remote builds with Azure Container Registry to improve build performance and consistency across different development environments. View Documentation
Docker support as a language
Understand how to use Docker as a language type in azd
for containerized applications, especially useful for languages like Go that don’t have native support in azd.
View Documentation
azd Extension Framework
Discover how to extend azd’s capabilities using the extension framework, enabling custom workflows and integrations to meet your specific development needs. Read Blog Post
Azure Developer CLI “Dev to Production” workflow
Learn how to streamline your development workflow with azd’s comprehensive deployment capabilities, covering the entire journey from local development to production deployment with a single command. Read Blog Post
New templates
The Azure Developer CLI template gallery welcomes a new contribution from the community. Thank you! This month, there’s a new Azure Functions template that demonstrates modern event-driven architecture patterns.
Azure Functions with SQL Database
Thank you to Paul Yuknewicz for contributing this Azure Functions quickstart template with SQL Triggers and Bindings (.NET) demonstrating event-driven integration with Azure SQL Database. This template provides a foundation for developers building serverless applications that respond to database changes. It works especially well for building data integration solutions, audit trails, and real-time analytics workflows.
Template Gallery Milestone
The awesome-azd template gallery now has 248+ templates, necessitating pagination support to handle the growing collection. Coming soon! This growth demonstrates the vibrant community adoption of azd
and the wealth of architectural patterns now available to developers. Thank you to all of the contributors!
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.
Thank you to the community contributors who helped make this release possible!
0 comments
Be the first to start the discussion.