Creating A WebApp Utilizing Azure Powershell.

Abidoye Joshua mayowa
4 min readOct 9, 2023

Microsoft Azure is a highly efficient and reliable cloud computing service that offers tailored solutions for various industries. With Microsoft’s vast global network of datacenters, you can seamlessly create, launch, and manage your applications quickly and confidently. Azure’s cutting-edge technology and state-of-the-art security measures ensure that your data is always protected, making it an ideal choice for businesses of all sizes. Whether you’re looking to streamline your operations or expand your reach, Azure’s user-friendly platform and robust features will help you achieve your goals.


Step 1: To access Azure, you need to authenticate your Account.

To authenticate your PowerShell session with your Azure account, use the command provided below:


You must follow the prompts to sign in with your user ID and password to your Azure account.

Step 2: Create a Resource Group

Create a resource group to manage related resources. Replace [YourResourceGroupName] and [YourLocation] with your desired resource group name and Azure region, respectively.

New-AzResourceGroup -Name [YourResourceGroupName] -Location [YourLocation]

Following the procedure mentioned earlier on creating a resource group, you should get something like the image above.

Step 3: Create an App Service Plan

Create an App Service Plan to specify the region of the physical server hosting your web app. Replace placeholders as needed.

New-AzAppServicePlan -Name [YourAppServicePlanName] -Location [YourLocation] -ResourceGroupName [YourResourceGroupName] -Tier Free

If you follow the instructions stated earlier, you should get the image below:

Step 4: Create a Web App

Ensure that the web app is created in the designated App Service Plan and Resource Group, and kindly replace any placeholders as necessary.

New-AzWebApp -Name [YourWebAppName] -Location [YourLocation] -AppServicePlan [YourAppServicePlanName] -ResourceGroupName [YourResourceGroupName]

If you follow the instructions stated earlier, you should get the image below:

The image above shows that we have successfully created the web App.

Step 5: Confirm The Web App

The next step is to head into the Azure console, navigate > Resource Groups and locate the web App that was created.

WebApp was successfully created.

Click on the link below the Arrow in the image below to confirm if the web App is working.

Open a browser and copy the default domain address to access the web App.

Azure Web App

Congratulations, guys, we did it. We have completed this task!

We must shut down resources by navigating to resource groups and deleting the created resources to avoid charges.

Thank you for reading this write-up. I will post more hands-on projects. Join me next time to see more of my work.



Abidoye Joshua mayowa

DevOps Engineer. I'm interested in collaborating with anyone interested in cloud engineer or cloud DevOPs.