How To Get Available Azure Web Apps Locations Using Azure Service Management (ASM)

To complete this tutorial, you'll need the following:

Follow the below steps:

  1. Run the Azure PowerShell Console or PowerShell Integrated Scripting Environment (ISE) as administrator. I am using ISE here. I have pinned Azure PowerShell to the taskbar. It might be different in your case if running PowerShell ISE from the start or a desktop shortcut or by searching in start or it also depends on which OS X are you using.

    Run

  2. The step 1 action will to open the Windows PowerShell ISE in administrator mode, as shown in below image.

    administrator

  3. Start typing Get-websitel, you will get the intelligence for the cmdlets related to what you are typing, as shown in below image. We need Get-AzureWebsiteLocation cmdlets to know the available regions for Azure Web apps.

    AzureWebsiteLocation

  4. Select Get-AzureWebsiteLocation and hit enter. You will get the list of available regions for your subscription where you can deploy your web apps, as shown in below image.

    subscription

Here, we have seen how to get the locations available for our subscription for deploying the Web Apps. As of writing this article, Azure has 26 generally available regions. If we see the list, it shows 17 only. So, it’s necessary to see if the services are available or not for our subscription where we have to host it.