Home > Net >  Change "Always On" setting for Azure Function App
Change "Always On" setting for Azure Function App

Time:09-21

I've an Azure Function App - created with the setting "Always On" and a matching AppServicePlan behind.

Now, I want to change the setting of "Always On" to false/off ... but I couldn't find the setting neither in Settings->Configuration nor in other tabs like Settings-->Properties.

Do I have to delete my function app and recreate it with "Always On" = false or is there another way to change this setting?

CodePudding user response:

  • In App service plan or premium plan you can change the always on option as below:

enter image description here

  • Whereas in Consumption plan, you cannot change it.
  • If you want to change it frequently, you can use other plan such as Dedicated or Premium.

CodePudding user response:

There are three different hosting options for your Azure Functions (Consumption plan, Premium plan and dedicated plan).

You are probably using the first (Consumption plan, which scales automatically and you only pay for compute resources when your functions are running. In this hosting option, you don't have the Always On setting.

  • Related