{"id":3366,"date":"2025-04-03T11:38:43","date_gmt":"2025-04-03T18:38:43","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sdk\/?p=3366"},"modified":"2025-04-03T11:38:43","modified_gmt":"2025-04-03T18:38:43","slug":"azure-developer-cli-azd-april-2025","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sdk\/azure-developer-cli-azd-april-2025\/","title":{"rendered":"Azure Developer CLI (azd) &#8211; April 2025"},"content":{"rendered":"<p>This post announces the April 2025 release version 1.14.0 of the Azure Developer CLI (<code>azd<\/code>). We invite you to join <a href=\"https:\/\/github.com\/Azure\/azure-dev\/discussions\/5035\">our April release discussion on GitHub<\/a>.<\/p>\n<p>This release is packed with new features and templates, so let&#8217;s get into it. Here&#8217;s what&#8217;s new with <code>azd<\/code> with the April release:<\/p>\n<h2>New features<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4939\">[4939]<\/a> &#8211; Automatically load environment values from root .env on <code>azd init<\/code>. This change enhances the <code>azd init<\/code> command to utilize an initial <code>.env file<\/code>, allowing it to influence the initial state of the environment created during initialization.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4939\">[4939]<\/a> &#8211; Introduce <code>AZD_ALLOW_NON_EMPTY_FOLDER<\/code> variable that bypasses warning about initializing template in a directory that isn&#8217;t empty.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4977\">[4977]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4995\">[4995]<\/a> &#8211; New <code>azd init --up<\/code> flag that runs <code>azd up<\/code> after initializing from a template. Thanks @LianwMS for the contribution!<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4931\">[4931]<\/a> &#8211; <code>azd add<\/code> support for Azure AI Search. Azure AI Search now appears as an option under the AI group (previously AI models) in the <code>azd add<\/code> menu.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4914\">[4914]<\/a> &#8211; <code>azd show<\/code> support for all resources supported by <code>azd add<\/code> and display fully evaluated connection variables for resources without provisioning a host resource.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4874\">[4874]<\/a> &#8211; Provide shortcuts for <code>azd env set-secrets<\/code> to directly use Key Vault created with <code>azd add<\/code>.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4953\">[4953]<\/a> &#8211; Support array of model <code>usageName<\/code> for quota validation.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/5008\">[5008]<\/a> &#8211; Add support for Azure Container Apps environment domain and registry outputs.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4943\">[4943]<\/a> &#8211; <code>azd add<\/code> support for existing resources (AI models, AI Search, Key Vault, Event Hubs, Service Bus, Storage).<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/5010\">[5010]<\/a> &#8211; Support model usage name metadata for main <code>location<\/code> Bicep parameter.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4929\">[4929]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/5010\">[5010]<\/a> Improve location and quota validation for Azure AI Services resources.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4957\">[4957]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4959\">[4959]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4979\">[4979]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4999\">[4999]<\/a>, <a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/5008\">[5008]<\/a> &#8211; Support .NET Aspire 9.1 includes: Update deployment for Aspire services to fetch endpoints from WebApp; adding support for a bicep.v0 expressing secrets; Aspire self migration detection (removes migration alpha feature and make azd to autodetect when AppHost owns compute <code>env<\/code>.); and support <code>userPrincipalId<\/code> injection for AppHost Migration mode for the logged in user for Aspire with AppHost migration mode enabled.<\/li>\n<\/ul>\n<h2>Bug fixes<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4966\">[4966]<\/a> &#8211; Fix <code>AZURE_OPENAI_ENDPOINT<\/code> not showing in <code>azd add<\/code> preview.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4561\">[4561]<\/a> &#8211; Fix <code>azd up -e &lt;env&gt;<\/code> so it uses the specified environment.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4960\">[4960]<\/a> &#8211; Fix simplified init failures to provision with detected databases and <code>alpha.compose<\/code> off.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4929\">[4929]<\/a> &#8211; Improve quota check for Azure Cognitive Services accounts to require at least <code>2<\/code> capacity units.<\/li>\n<\/ul>\n<h2>Other changes<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4794\">[4794]<\/a> &#8211; Upgrade to Go 1.24.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4960\">[4960]<\/a> &#8211; Use Standard SKU for Azure Service Bus.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4960\">[4960]<\/a> &#8211; Remove passing host settings through <code>main.parameters.json<\/code>.<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/azure-dev\/pull\/4972\">[4972]<\/a> &#8211; Remove unused core Bicep modules. Thank you for reporting the issue, <a href=\"https:\/\/github.com\/zedy-wj\">Wenjie Yu<\/a>!<\/li>\n<li><a href=\"https:\/\/github.com\/Azure\/awesome-azd\/pull\/530\">530<\/a> &#8211; Adding .NET Aspire as a tool in the list of tags on the awesome-azd gallery. Thanks for your contribution <a href=\"https:\/\/github.com\/FBoucher\">Frank Boucher<\/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\/maartenvandiemen\/azd-loadtest\/\">AZD-LoadTest<\/a> authored by <a href=\"https:\/\/github.com\/petender\">Peter De Tender<\/a> and <a href=\"https:\/\/github.com\/maartenvandiemen\">Maarten van Diemen<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Build5Nines\/azd-litellm\">LiteLLM in Azure Container Apps with PostgreSQL database<\/a> authored by <a href=\"https:\/\/github.com\/Build5Nines\">Build5Nines<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/Deploy-Your-AI-Application-In-Production\">Deploy your AI Application in Production<\/a> authored by <a href=\"https:\/\/github.com\/mswantek68\">Mike Swantek<\/a>, <a href=\"https:\/\/github.com\/dsmmmm\">Daniel Schmidt<\/a>, and <a href=\"https:\/\/github.com\/sethsteenken\">Seth Steenken<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/get-started-with-ai-agents\">Getting Started with Agents Using Azure AI Foundry<\/a> authored by <a href=\"https:\/\/github.com\/howieleung\">Howie Leung<\/a>, <a href=\"https:\/\/github.com\/nick863\">Nikolay Rovinskiy<\/a>, and <a href=\"https:\/\/github.com\/sophia-ramsey\">Sophia Ramsey<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/get-started-with-ai-chat\">Get Started with Chat Using Azure AI Foundry<\/a> authored by <a href=\"https:\/\/github.com\/howieleung\">Howie Leung<\/a>, <a href=\"https:\/\/github.com\/nick863\">Nikolay Rovinskiy<\/a>, and <a href=\"https:\/\/github.com\/sophia-ramsey\">Sophia Ramsey<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/Conversation-Knowledge-Mining-Solution-Accelerator\">Conversation knowledge mining solution accelerator<\/a> authored by [Malory Rose], [Blessing Sanusi], [Mark Taylor], and [Anish Arora]<\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/Azure-Language-OpenAI-Conversational-Agent-Accelerator\">Azure Language OpenAI Conversational Agent Accelerator<\/a> authored by <a href=\"https:\/\/github.com\/murraysean\">Sean Murray<\/a> and <a href=\"https:\/\/github.com\/ylxiongwork\">Yanling Xiong<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/Azure-Samples\/azure-redis-dalle-semantic-caching\">.NET 9 Web Application with Redis Output Caching and Azure OpenAI<\/a> authored by <a href=\"https:\/\/github.com\/CawaMS\">Catherine Wang<\/a><\/li>\n<\/ul>\n<p>Thank you to the template authors for your contributions!<\/p>\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>New to <code>azd<\/code>?<\/h2>\n<p>Welcome! You can use azd 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<p>Learn more about the Azure Developer CLI from our <a href=\"https:\/\/aka.ms\/azd\">official documentation<\/a>. 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 reference our <a href=\"https:\/\/aka.ms\/azd-troubleshoot\">troubleshooting documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post announces the April release of the Azure Developer CLI (`azd`).<\/p>\n","protected":false},"author":107449,"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,939,160,159,861,162,733,895],"class_list":["post-3366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sdk","tag-net","tag-azure-developer-cli","tag-codespaces","tag-docker","tag-java","tag-javascript","tag-kubernetes","tag-python","tag-typescript","tag-vscode"],"acf":[],"blog_post_summary":"<p>This post announces the April release of the Azure Developer CLI (`azd`).<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3366","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\/107449"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/comments?post=3366"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/posts\/3366\/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=3366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/categories?post=3366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sdk\/wp-json\/wp\/v2\/tags?post=3366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}