Tag Archives: Azure

“No App Service Environments in this subscription”

Adding an application to an Azure Application Service Environment (ASE) is a pretty straight-forward operation, but sometimes you will get:

“No App Service Environments in this subscription”

What does this mean?  Why isn’t the App Service Environment in the list?

App Service Environments are a premium feature of the Microsoft Cloud.   It provides a fully isolated and dedicated environment for securely running Azure App Service apps at high scale, including Web Apps, Mobile Apps, and API Apps.

App Service Environments scale differently than most apps in Azure.  First, the ASE itself defines a set of worker pool instances:

The pool instance counts represent the number of physical resources available in each worker pool in your ASE.

If you click on your ASE’s main blade, then select Worker Pools.  Then choose a worker pool.  You can see the resources allocated in the pool:

Notice the “Workers Available” is 0.  Because of this I’m unable to add any new applications or App Service Plans to the ASE.  You first need to increase the scale of the pool to accommodate additional resources.

Here I’ve increased the Worker pool 1 Instance Count from 2 to 3.

At the time of this writing, ASE scale operations take several hours to complete. You will see this notification while the scale operation is in progress.

Once completed.  You now have an extra instance available in your worker pool to add an additional App Service Plan and Application.

You can see the App Service Environment is now available in the Location drop down, now that there is additional capacity in the Worker Pool for the App Service Plan.

How to add a new App Service Plan (ASP) to an App Service Environment (ASE)

An Azure App Service Environment is a premium tier offering for high scale applications that can isolate your application on a custom virtual network and give you more control over the compute resources allocated to your applications.

To increase the scale and control over the Applications running in your ASE, you can add additional App Service Plans to your ASE.

When you first work with ASE’s however, it doesn’t seem obvious how to add additional service plans to your ASE.

When creating an additional App Service Plan, you have to have enough instances in the ASE worker pool before you are allowed to create the ASP.

As you can see below, I can’t select my ASE from the location list:

When you want to add an additional ASP to your ASE, you select the ASE itself as the location for the creation of the ASP.

Without enough instances in your ASE worker pool, the ASE is not available in the Location drop down when creating a new ASP.

First you need to increase the instance count in your ASE to provide additional instances for your ASP to manage.

Increase the Instance count of your Front End or Worker Pools.  This scale operation will take several hours to complete.

Once the scale operation is completed, you can now create additional App Service plans in your ASE.

Hope this helps you, It drove me crazy trying to figure this out the first few times I used ASE’s