5
votes

I made an Azure function, which made me an App Service Plan. I noticed my bill started going up, so I tried to change my app service plan to the free pricing tier. It rejected with the reason:

Cannot update the site 'my-site' because it uses AlwaysOn feature which is not allowed in the target compute mode.

Is there a way I can turn off the AlwaysOn feature of my Azure Function so I can change my app service plan to the free tier?

2
From portal, you should be able to browse to your function app -> general settings and disable the AlwaysOn. If still can't find, try with resources.azure.com (see azure.microsoft.com/en-us/blog/…).Suwat Ch
You should have created a function app on a consumption plan ?Thomas

2 Answers

12
votes

In the Overview page click on configuration and then click on general settings

Overview

General settings

0
votes

@Jeremy : given answer is correct. You won't find this setting in the overview page of you app service plan. Instead go to the actual web app/function app > Select "Configuration" (under the Settings section) > "General Settings". You can find and toggle the "Always On" option there