{"id":669,"date":"2026-10-12T14:28:37","date_gmt":"2026-10-12T04:28:37","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=669"},"modified":"2026-10-12T14:28:37","modified_gmt":"2026-10-12T04:28:37","slug":"effortless-web-app-deployment-with-azure-cli","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/effortless-web-app-deployment-with-azure-cli\/","title":{"rendered":"Effortless Web App Deployment with Azure CLI"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This Azure Web Apps article will show how to use<strong> <em>az webapp up<\/em><\/strong> to for quick deployment of web apps with minimal configuration. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Deploying web applications has never been easier, thanks to the Azure CLI&#8217;s <code>az webapp up<\/code> command. In this article, we&#8217;ll explore how to quickly deploy web apps with minimal configuration using Azure Web Apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Azure App Service is one of the top five most popular Azure cloud services, offering robust application deployment and hosting services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>az webapp up<\/code> command in Azure CLI allows for the swift deployment of web applications with minimal configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When deploying an application with <code><a href=\"https:\/\/learn.microsoft.com\/en-us\/cli\/azure\/webapp?view=azure-cli-latest\" target=\"_blank\" rel=\"noreferrer noopener\">az webapp up<\/a><\/code>, the following happens automatically:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Single Command Deployment:<\/strong> All resources are deployed using a single command.<\/li>\n\n\n\n<li><strong>Automatic Resource Creation:<\/strong> Create an app service plan and supporting resources.<\/li>\n\n\n\n<li><strong>Platform Detection:<\/strong> Based on the application&#8217;s source code, the command provisions the appropriate platform.<\/li>\n\n\n\n<li><strong>Directory-Based Deployment:<\/strong> The app is deployed from the current directory where the source code is located.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-using-az-webapp-up\">Using <code>az webapp up<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To use the command, start by installing the latest version of Azure CLI. Then, log in to Azure using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>az login<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From the terminal, navigate to your application&#8217;s directory and run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>az webapp up -g RGNAME -n WEBAPPNAME --html<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The above command will deploy a static web app to Azure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-articles\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/08\/creating-custom-error-pages-in-azure-web-app\/\">Creating Custom Error Pages in Azure Web App<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/05\/06\/simplifying-ios-app-deployment-with-microsoft-intune\/\">Simplifying iOS App Deployment with Microsoft Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2024\/07\/26\/developing-apps-for-microsoft-teams\/\" target=\"_blank\" rel=\"noopener\">Developing Apps for Microsoft Teams<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/wiz-security-deployment-services\/\">Wiz Security Deployment Services<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/29\/streamlining-entra-id-app-registrations-with-azure-bicep\/\">Streamlining Entra ID App Registrations with Azure Bicep<\/a><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><br><br><br><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This Azure Web Apps article will show how to use az webapp up to for quick deployment of web apps with minimal configuration.<\/p>\n","protected":false},"author":1,"featured_media":616,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[51,16,50],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-app-service","category-microsoft-azure","category-azure-cli"],"jetpack-related-posts":[{"id":56770,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/securely-use-managed-identity-in-production-and-azure-cli-locally\/","url_meta":{"origin":669,"position":0},"title":"Securely use Managed Identity in Production and Azure CLI Locally","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"A clean pattern: Managed Identity in prod, Azure CLI for local dev. Practical steps, code, and gotchas to keep secrets out and developers productive.","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png 1x, \/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png 1.5x, \/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png 2x, \/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png 3x, \/wp-content\/uploads\/2025\/11\/securely-use-managed-identity-in-production-and-azure-cli-locally.png 4x"},"classes":[]},{"id":53378,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/publish-a-blazor-net-app-with-vs-code-to-azure\/","url_meta":{"origin":669,"position":1},"title":"Publish a Blazor .NET App With VS Code to Azure","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this Microsoft Azure blog post, we\u2019ll walk through how to publish a Blazor .NET app using Visual Studio Code (VS Code) to Azure. VS Code, with its rich ecosystem of extensions and integrations, is more than just a code editor. It enables developers to build, test, integrate, and deploy\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/05\/publish-blazor-app-with-VS-code.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/05\/publish-blazor-app-with-VS-code.png 1x, \/wp-content\/uploads\/2025\/05\/publish-blazor-app-with-VS-code.png 1.5x, \/wp-content\/uploads\/2025\/05\/publish-blazor-app-with-VS-code.png 2x"},"classes":[]},{"id":53463,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/how-to-authenticate-to-azure-cli-with-a-service-principal\/","url_meta":{"origin":669,"position":2},"title":"How to Authenticate to Azure CLI with a Service Principal","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this blog post, we'll show you how to authenticate to Azure CLI with a Service Principal and login to Azure. Azure CLI is a command-line utility written in Python that allows users to manage Azure resources programmatically. It is widely used by DevOps engineers, developers, and IT professionals to\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/10\/Creating-a-Text-to-Speech-Power-App-Using-OpenAI-Whisper.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/10\/Creating-a-Text-to-Speech-Power-App-Using-OpenAI-Whisper.webp 1x, \/wp-content\/uploads\/2024\/10\/Creating-a-Text-to-Speech-Power-App-Using-OpenAI-Whisper.webp 1.5x, \/wp-content\/uploads\/2024\/10\/Creating-a-Text-to-Speech-Power-App-Using-OpenAI-Whisper.webp 2x"},"classes":[]},{"id":746,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/increase-phpmyadmin-upload-size-limit-on-azure-web-app\/","url_meta":{"origin":669,"position":3},"title":"Increase PHPMyAdmin Upload Size Limit on Azure Web App","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this Azure App Services article, we will show how to increase PHPmyAdmin Upload size limit on Azure Web App. PHPMyAdmin is a PHP-based open-source and free tool that allows us to manage MySQL and MariaDB databases using a web interface. The tool offers a simplified interface that makes the\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp 1x, \/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp 1.5x, \/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp 2x, \/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp 3x, \/wp-content\/uploads\/2024\/07\/How-to-Recover-Deleted-or-Lost-Exchange-Online-Emails-to-PST.webp 4x"},"classes":[]},{"id":53079,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2026\/10\/12\/running-c-net-applications-in-azure-devops-pipelines\/","url_meta":{"origin":669,"position":4},"title":"Running C# .NET Applications in Azure DevOps Pipelines","author":"CPI Staff","date":"October 12, 2026","format":false,"excerpt":"In this blog post, I will show you how to build and run a C# application in Azure DevOps Pipelines. Estimated reading time: 3 minutes Table of contentsWhat Are Azure Pipelines?Step 1: Build the Console ApplicationStep 2: Create a YAML PipelineStep 3: Create a New PipelinePipeline Execution OverviewSummaryRelated Articles What\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp 1x, \/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp 1.5x, \/wp-content\/uploads\/2025\/01\/Running-C-.NET-Applications-in-Azure-DevOps-Pipelines.webp 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"\/wp-content\/uploads\/2024\/09\/How-to-Create-an-Azure-AI-Language-Account-Using-REST-API.webp","_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/669\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/616"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}