March 12th, 2024

Azure Developer CLI (azd) – March 2024 Release

We’re pleased to announce that the March 2024 release (version 1.7.0) of the Azure Developer CLI (azd) is now available. As always, you can learn about how to get started with the Azure Developer CLI by visiting our documentation.

Here’s what’s new in azd:

  • Sovereign cloud support (azure-dev#976)
  • Support for third-party container registries (azure-dev#3241)
  • Visual Studio publish experience for .NET Aspire
  • Other .NET Aspire enhancements

Sovereign cloud support

We’re excited to offer azd to more developers now by adding support for Azure China Cloud and Azure US Government in addition to the Azure Public cloud! The Azure Public cloud is still the default used if no cloud is specified. The cloud can be configured at the user, project, or environment level.

For full details about how to configure and use azd with Azure China Cloud or Azure US Government, see our docs.

Support for third-party container registries

We now allow pushing container images to external container registries.

To use this feature, you need to manually authenticate to the external container registry before calling azd deploy. To do so, run docker login and authenticate to your external container registry following the setup/configuration of your registry provider.

Here’s an example azure.yaml file pulling from an external container registry:

name: todo-nodejs-mongo-aca
metadata:
  template: todo-nodejs-mongo-aca@0.0.1-beta
services:
  nginx:
    image: docker.io/username/nginx:latest
    host: containerapp

In this example, during azd deploy the container is pulled from docker.io/username/nginx:latest and directly referenced by the container app service.

Visual Studio publish experience for .NET Aspire

A Visual Studio publish experience is now enabled for .NET Aspire applications! This experience is built with azd so you can publish your .NET Aspire apps directly from Visual Studio to any of your currently running azd environments!

Learn more about this change in .NET Aspire’s latest product updates.

Other .NET Aspire enhancements

As a part of azd‘s continued partnership with .NET Aspire, we made a couple noteworthy changes:

  • Prompting for parameter resources
  • Automatically create secrets

To learn more about these enhancements, check out .NET Aspire’s latest product updates.

Other changes and enhancements

We also added smaller enhancements and fixed issues requested by users that should improve your experience working with the azd. Some notable changes include:

  • Features for azd core:
  • Bug fixes for azd core:
    • Deploying javascript app with Aspire results in error during deploy step (azure-dev#3391)
    • Aspire: calling azd infra synth does not produce the autogenerate inputs (azure-dev#3434)

Community contributions

We’d also like to extend a special thanks to the community contributors of this release:

You can use the Azure Developer CLI from:

Author

3 comments

Discussion is closed. Login to edit/delete existing comments.

  • McKenzie Clayton

    Hi,

    Im trying to access the documentation for using azd with a sovereign cloud, but it seems to be restricted even with my organization having a GCC high environment. Is there a way i can view the docs?

    • Grace KulinMicrosoft employee Author

      Sorry about that, the link should be working now!

      • McKenzie Clayton

        That worked, thank-you so much!