I am just wondering if there is a path to migrate a Function App that is hosted on a Dedicated App Service Plan to a Premium Plan?
I have tried using the Azure CLI to change the underlying App Service Plan but am getting this message:
Your functionapp is not using a Consumption or an Elastic Premium plan. Currently the switch is only allowed between a Consumption or an Elastic Premium plan.
Is there any other way other than completely recreating the Function App to do this?
CodePudding user response:
Function apps using the Dedicated App Service plan can't be changed to any other plan. This may be possible in the future, but not for now. You have to create a new function app in a different hosting plan and update/deploy your code.
Just like the error says, you can only switch between Consumption and Premium plans by changing the plan property of the function app resource.