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:
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.
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).

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.

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"

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

This will create the function in an existing consumption plan ASP.
Credit to this answer that pointed me in the right direction
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With