Azure - can't create a new web app on an existing service plan

Viewed 1939

Hello,

I have a "Basic" App Service plan on Azure.

Issue: I cannot create a new web app on an existing App Service Plan.

It only gives the option of creating a new app services plan (but I don't want another app service plan). No errors. No explanations. Just options for "new" app service plans.

It used to be a case of create new web app -> select service plan -> choose existing -> select from existing app service plan -> create a web app. Done.

I am trying to create a new web app - there is now a new interface to achieve this - however, when I select a resource group, same region as App Service Plan, there is only the option to "create new app service plan" - but I already have one - it's not appearing in the list.

Things I have tried:

  • Looking at resources - memory usage is approx 60-70% - so it doesn't appear to be that. I even removed a website that was stopped just in case.
  • Logging out and back in
  • Logging in as original administrator on another PC (not delegated admin as I am).
  • Removing an existing web app
  • Go through each resource to find a combination that will unveil my app service.

I have both web apps and functions (.net core C#) - can it be something to do with having functions and windows web apps .net core c# working on the same web service?

What am I missing? I feel it is something obvious.

Thanks.

3 Answers

I had the same problem. I had App Service Plan located in West Europe.

Then, I wanted to add an App also to the West Europe, however the resource group that I selected for this app was located in North Europe. When I changed resource group that was located in West Europe problem was solved.

enter image description here

As mentioned in the other answer ASP and Function app needs to be in the same location.

In addition to that, in my case the existing App Service Plan turned out to be an ASP that was created for Consumption Plan (Y1).

enter image description here

So, if I need to reuse that ASP, my new function has to use consumption plan.

But, when creating a new function, I did not see anything in the azure portal that allows to pick an existing ASP when selecting consumption plan.

enter image description here

I was able to work around this by generating the ARM template instead of directly creating the resource in portal. i.e. in the "Review + Create" screen, i would hit "Download a template for automation"

enter image description here

Then hit deploy, and in the deployment screen, i would update the parameter for the hostingPlan name, and change it to the existing ASP:

enter image description here

This will create the function in an existing consumption plan ASP.

Credit to this answer that pointed me in the right direction

Its something wrong with browser. Try MS Edge instead of Chrome or whatever. Faced agains same issue. In MS Edge it worked

Related