hands-on lab

Deploying a Webapp to Azure App Service Using Git Locally

Up to 45m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Azure App Service allows you to deploy and build code from your preferred source and build provider. You can use Git to deploy your local application code to Azure App Service easily, without having to interact with the portal. Using local git deployment to deploy web apps to Azure App Service allow you to reap the benefits of Git as well as prepare to enable automated deployments in your organization.

In this lab, you will deploy a web app to Azure App Service from a git repository in a localized IDE.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Deploy local application code to Azure App Service using Git

Intended Audience

  • Cloud Engineers
  • Software Developers
  • DevOps Engineers


Familiarity with the following will be beneficial but is not required:

  • Azure App Service
  • Azure CLI
  • Git Workflow

The following content can be used to fulfill the prerequisite:


June 20th, 2023 - Resolved git push issue

May 2nd, 2023 - Updated theia to include autosave

March 20th, 2023 - Updated git push command

About the author

Adil Islam, opens in a new tab
Cloud Labs Developer
Learning paths

Adil is a Microsoft Certified Trainer, former Azure Engineer, and loves all things Azure. He is a certified Azure Administrator and Azure DevOps Expert and has worked for some of the biggest MSPs in the world (Cognizant, New Signature, CoreAzure). He loves to combine his two passions: cloud and teaching.

Adil specializes in Azure Infrastructure services and has a curiosity for new, in-preview services from Azure, getting his hands familiar with the content before most of the world does. Outside of work, Adil helps run a growing community of IT professionals looking to break into the cloud and regularly runs workshops and webinars.

Covered topics

Lab steps

Logging into Azure using Azure CLI
Setting Webapp Prerequisites Using the Azure CLI
Deploying an Azure App Service Plan
Pushing Local Application Code to Azure App Service