App service plan changing SKU not working

Bagve, Swanand 60 Reputation points
2023-04-13T12:29:26.06+00:00

When trying to change app service plan asp-mg-nonprod-t1-weu-invdesktop-01 from Basic3 to any other no other plan types are visible. Only EP1,EP2,EP3 are available and when selecting EP1 i get error This server farm '<app service plan name>' must contain only Function Apps. The plan already has a webapp and that is working fine

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,036 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andriy Bilous 10,996 Reputation points MVP
    2023-04-13T13:59:44.1266667+00:00

    Hello @Bagve, Swanand

    The error message you're encountering occurs when you try to create an App Service or an App Service Slot in an App Service Plan that is specifically dedicated to hosting Azure Functions. Azure Functions uses a specific type of App Service Plan called an Elastic Premium Plan or Consumption Plan. These plans are designed exclusively for Azure Functions to provide dynamic scaling and lower costs based on the actual usage of your functions.

    To resolve this issue, you have two options:

    • Create a new App Service Plan for the App Service: If you need to create an App Service, you must create a separate App Service Plan that is not dedicated to Azure Functions. After the new App Service Plan has been created, you can use it for your App Service or App Service Slot.
    • Create an Azure Function App instead of an App Service: If you intended to create an Azure Function App, make sure to choose the "Function App" resource type instead of "App Service" or "Web App" when creating the resource. To create a new Azure Function App, follow these steps: After the new Azure Function App has been created, you can deploy your functions to it. By following one of these options, you should be able to resolve the error and create the desired resource without any issues.
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful