Create Azure WebApp Using Microsoft PowerShell

  1. Open in the Windows PowerShell ISE in your Local PC.
  2. Then, How to Connect your Azure Portal account. Command:

Connect-AzureRmAccount 

3. After, Create a new resourcegroup or used already created.  Command:

New-AzureRmResourceGroup Name webresGroup -Location ‘East US’

4. Then, Create an WebApp Service plan in Free/Standard tier.

New-AzureRmAppServicePlan -ResourceGroupName webresGroup -Name webapp -Location ‘East US’ -Tier Standard

5. After,finally you are Create a New web app in your Azure Portal.

New-AzureRmWebApp -ResourceGroupName webresGroup -Name powershellwebapp -Location ‘East US’ -AppServicePlan webapp

6. Then,  Opening the your Azure Portal before create new webapp. See App Services

7. After, Created New WebApp . Lets see your App Service, New WebApp here.

Be the first to comment

Leave a Reply

Your email address will not be published.


*