{"id":3154,"date":"2024-08-13T10:15:08","date_gmt":"2024-08-13T17:15:08","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=3154"},"modified":"2024-08-13T10:15:08","modified_gmt":"2024-08-13T17:15:08","slug":"azure-developer-cli-azd-august-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-august-2024\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; August 2024"},"content":{"rendered":"<p>This post announces that the August 2024 release (version 1.9.6) of the Azure Developer CLI (<code>azd<\/code>) is now available. There was no blog post for the July releases of <code>azd<\/code> (versions 1.9.4 and 1.9.5) so we cover the changes from those releases in this post as well. As always, you can learn about how to get started with the Azure Developer CLI by visiting our <a href=\"https:\/\/aka.ms\/azd\">documentation<\/a>.<\/p>\n<p>Here&#8217;s what&#8217;s new with <code>azd<\/code>:<\/p>\n<ul>\n<li>Revamped community calls<\/li>\n<li>New auth types for <code>azd pipeline config<\/code> with Azure Pipelines <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3924\">(azure-dev#3924)<\/a><\/li>\n<li>Deployment status tracking for Linux web apps <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3965\">(azure-dev#3965)<\/a><\/li>\n<li>Added managed identity support to <code>azd auth login<\/code> <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3723\">(azure-dev#3723)<\/a><\/li>\n<li>Alpha support for Windows Arm64 <a href=\"https:\/\/github.com\/Azure\/azure-dev\/issues\/3968\">(azure-dev#3968)<\/a><\/li>\n<li>Alpha support for persistent session affinity and domains for Azure Container Apps (ACA) <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3955\">(azure-dev#3955)<\/a><\/li>\n<\/ul>\n<h2>Revamped community calls<\/h2>\n<p>In case you missed it, we recently changed the format of <code>azd<\/code>&#8216;s monthly community calls. We still demo new features but we now spend most of each call focusing on you, our wonderful community! Each month, one or a few members of the community will show off the cool things they&#8217;re building with or within <code>azd<\/code>.<\/p>\n<p>Not familiar with our community calls? Check out <a href=\"https:\/\/www.youtube.com\/live\/52yPDsXSgMo?si=GHNCui-7H_GIQhwv\">our July call on YouTube<\/a>. We go live every fourth Wednesday of the month at <a href=\"https:\/\/www.youtube.com\/@AzureDevelopers\">Microsoft Azure Developers<\/a> on YouTube.<\/p>\n<p>Whether you&#8217;ve built something with an existing <code>azd<\/code> template, contributed to one of our open-source repositories (azure-dev or awesome-azd), or created a template, we want you to join a call and show your work to the community! To sign up, fill out this <a href=\"https:\/\/aka.ms\/azd-communitycall-signup\">form<\/a> and get scheduled to join a future call.<\/p>\n<h3>New authentication types for <code>azd pipeline config<\/code> with Azure Pipelines<\/h3>\n<p><code>azd pipeline config<\/code> now offers support Federated Credentials for Azure Pipelines. You can use the flag <code>--auth-type<\/code> to specify the authentication type used.<\/p>\n<p>One authentication method is <code>federated<\/code>. To use it, you can run <code>azd pipeline config --auth-type federated<\/code>. How does this work? First, <code>azd<\/code> creates a Service Principal (SP) in Microsoft Entra ID without any credential. The Azure Pipelines provider then creates a service connection using the SP details (<code>clientId<\/code> and <code>TenantId<\/code>) using <code>endpointScheme := \"WorkloadIdentityFederation\"<\/code>. Once the service connection is created, <code>azd<\/code> uses the issuer and subject to create the federated credential for the SP.<\/p>\n<p>The other authentication method is <code>client-credentials<\/code>. To use it, you can run <code>azd pipeline config --auth-type client-credentials<\/code>. How does it work? First, azd creates an SP in Microsoft Entra ID without any credential. Then <code>azd<\/code> creates a client secret credential for the SP. Then the Azure Pipelines provider creates a service connection using the SP details (<code>clientId<\/code>, <code>secret<\/code>, and <code>TenantId<\/code>) using <code>endpointScheme = \"ServicePrincipal\"<\/code>.<\/p>\n<h3>Added managed identity support to <code>azd auth login<\/code><\/h3>\n<p>We heard your requests and are happy to share that you can now use managed identity with <code>azd auth login<\/code>. Managed identity can be useful in cases where you&#8217;re running <code>azd<\/code> inside Azure (say as part of some deployment system you put together) as it eliminates the need for a long-lived service principal.<\/p>\n<p>By default, <code>--managed-identity<\/code> uses the system-assigned managed identity, but <code>--client-id<\/code> can be passed to use a user-assigned one.<\/p>\n<h3>Alpha support for Windows Arm64 support<\/h3>\n<p>We now offer Alpha support for Windows Arm64. This feature was inspired by the release of <a href=\"https:\/\/www.microsoft.com\/surface\">Copilot + PC<\/a> at Microsoft Build. You can now take full advantage of the Arm64 capabilities offered by the new Surface line of PCs. Arm64 support is considered an <a href=\"https:\/\/learn.microsoft.com\/azure\/developer\/azure-developer-cli\/feature-versioning#alpha-features\">Alpha feature<\/a>, so we don&#8217;t recommend using it for business-critical scenarios. We&#8217;ll still cross-build binaries on Windows x86_64. Further, the Arm64 version is now added to GitHub and Storage releases but there is not yet direct support for installers or other channels. The binary is in a <code>.zip<\/code> file.<\/p>\n<p>To use the Arm64 version of <code>azd<\/code>, visit <a href=\"https:\/\/github.com\/Azure\/azure-dev\/releases\">our GitHub release page<\/a> and find the <code>azd-windows-arm64-alpha.zip<\/code> file under the &#8220;Assets&#8221; dropdown menu.<\/p>\n<h3>Alpha support for persistent session affinity and domains for Azure Container Apps (ACA)<\/h3>\n<p>With this feature, <code>azd<\/code> uses any existing custom domains from ACA before deploying an update for it. Persistence prevents the deletion of any manually configured custom domain from the Azure portal.\nTo use this new feature, you can run <code>azd config set alpha.aca.persistDomains on<\/code>.<\/p>\n<h2>Other changes and enhancements<\/h2>\n<p>We also added smaller enhancements and fixed issues requested by users that should improve your experience working with the <code>azd<\/code>. Some notable changes include:<\/p>\n<p>Other features for <code>azd<\/code> core:<\/p>\n<ul>\n<li>Support for <code>swa-cli.config.json<\/code> for Azure Static Web Apps <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3553\">(azure-dev#3553)<\/a><\/li>\n<\/ul>\n<p>Bug fixes for <code>azd<\/code> core:<\/p>\n<ul>\n<li>(Aspire) fix panic when a project has no endpoints <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4065\">(azure-dev#4065)<\/a><\/li>\n<li>Fix error in retrieving cross resource group service plan <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4074\">(azure-dev#4074)<\/a><\/li>\n<li>Fix bug where windows logic app passed isLinuxWebApp <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4073\">(azure-dev#4073)<\/a><\/li>\n<li>Fix exposed ports for Aspire projects <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3941\">(azure-dev#3941)<\/a><\/li>\n<li>Adds missing namespace property to Helm configuration schema <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3948\">(azure-dev#3948)<\/a><\/li>\n<li>Fixes issue selected environment with different environment type <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3942\">(azure-dev#3942)<\/a><\/li>\n<li>Reset the reader in zip deployments <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/3985\">(azure-dev#3985)<\/a><\/li>\n<\/ul>\n<h2>New Templates<\/h2>\n<p>New templates this month include:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/llama-index-python\">Serverless Azure OpenAI Quick Start with LlamaIndex (Python)<\/a> authored by <a href=\"https:\/\/github.com\/marlenezw\">Marlene Mhangami<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pinecone-io\/pinecone-rag-demo-azd\">Pinecone RAG Demo<\/a> authored by <a href=\"https:\/\/pinecone.io\">Pinecone Team<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/AzureCosmosDB\/cosmosdb-nosql-copilot\">Build a Copilot app using Azure Cosmos DB for NoSQL, Azure OpenAI Service, Azure App Service, and Semantic Kernel<\/a> authored by <a href=\"https:\/\/github.com\/AzureCosmosDB\">Azure Cosmos DB Content Team<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/llama-index-javascript\">Serverless Azure OpenAI Quick Start with LlamaIndex (JavaScript)<\/a> authored by <a href=\"https:\/\/github.com\/manekinekko\">Wassim Chegham<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/ryanninodizon\/AzureServerlessApp-with-auth-for-dotnet-angular\">Azure Serverless Template using Angular-standalone, Azure Functions App, Cosmos DB, and APIM<\/a> authored by <a href=\"https:\/\/github.com\/ryanninodizon\">Ryan Ni\u00f1o Dizon<\/a><\/li>\n<\/ul>\n<p>Do you have an <code>azd<\/code> template you&#8217;d like to share with the rest of the community? You can learn how to with our <a href=\"https:\/\/azure.github.io\/awesome-azd\/docs\/intro\">contributor guide<\/a>.<\/p>\n<h2>Community contributions<\/h2>\n<p>We\u2019d also like to extend a special thanks to the community contributors of this release:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/wave-ys\">Yujia Sun<\/a>:\n<ul>\n<li>Remove undesirable whitespace trimming in <code>main.bicep<\/code> app-host template <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4180\">(azure-dev#4180)<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/github.com\/kdestin\">kdestin<\/a>\n<ul>\n<li>Resolve azd crash when using the ai.endpoint service host with Python 3.8 <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4092\">(azure-dev#4092)<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/github.com\/sinedied\">Yohan Lasorsa<\/a>\n<ul>\n<li>Allow key vault to be used in template deployment <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4055\">(azure-dev#4055)<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"https:\/\/github.com\/rick-roche\">Richard Roch\u00e9<\/a>\n<ul>\n<li>Update golangci-lint local installation install link <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4053\">(azure-dev#4053)<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>You can use the Azure Developer CLI from:<\/p>\n<ul>\n<li>Your terminal of choice on Windows, Linux, or macOS.<\/li>\n<li>Visual Studio Code or GitHub Codespaces by <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-azuretools.azure-dev\">downloading the extension<\/a> from the Marketplace, or installing it directly from the extension view (<code>Ctrl<\/code> + <code>Shift<\/code> + <code>X<\/code> for Windows or <code>Cmd<\/code> + <code>Shift<\/code> + <code>X<\/code> for macOS) in Visual Studio Code.<\/li>\n<li>Visual Studio by <a href=\"https:\/\/devblogs.microsoft.com\/azure-sdk\/introducing-the-azure-developer-cli-a-faster-way-to-build-apps-for-the-cloud\/#visual-studio\">enabling the preview feature flag<\/a>.<\/li>\n<li>You can learn more about the Azure Developer CLI from our <a href=\"https:\/\/aka.ms\/azd\">official documentation<\/a>.<\/li>\n<li>If you run into any problems or have suggestions, file an issue or start a discussion in the <a href=\"https:\/\/github.com\/Azure\/azure-dev\">Azure Developer CLI repository<\/a>. You can also try checking out our <a href=\"https:\/\/aka.ms\/azd-troubleshoot\">troubleshooting documentation<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the August release of the Azure Developer CLI (`azd`) and recaps the July release. Includes enhancements for `azd pipeline config`, deployment status tracking for Linux web apps, support for managed identity during login, and more.<\/p>\n","protected":false},"author":145931,"featured_media":2111,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[701,864,878,160,159,861,162,733,895],"class_list":["post-3154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-net","tag-azure-developer-cli","tag-codespaces","tag-java","tag-javascript","tag-kubernetes","tag-python","tag-typescript","tag-vscode"],"acf":[],"blog_post_summary":"<p>This post announces the August release of the Azure Developer CLI (`azd`) and recaps the July release. Includes enhancements for `azd pipeline config`, deployment status tracking for Linux web apps, support for managed identity during login, and more.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/users\/145931"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=3154"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media\/2111"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/media?parent=3154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=3154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=3154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}