Cannot turn off the AlwaysOn feature on Azure App Service
I'm trying to turn off the AlwaysOn feature for my App Service, but after saving the change it reverts back to "On".
Steps I'm taking are:
- From the App Service > Configuration > General Settings
- Toggle "Always On" from "On" to "Off"
- "Save" and "Continue"
I refresh and the AlwaysOn feature reverts to "On"
Any help is appreciated.
Azure App Service
-
Didier3001 961 Reputation points • Microsoft Employee
2020-08-31T07:35:46.987+00:00 Hi @psaban20
Is this a Windows or Linux App Service Plan? Which Tiers is this?
Can you tell us what you are trying to achieve by disabling this?
Regards,
Didier3001 -
psaban20 11 Reputation points
2020-08-31T13:38:27.467+00:00 It's a Windows Service Plan currently on a B1 pricing tier. I'd like to scale down to either D1 or F1 pricing tier but those require the AlwaysOn feature to be turned off. When I try to scale down to either of those pricing tiers I get a notification:
"Cannot update the site '[my sitename]' because it use AlwaysOn feature which is not allowed in the target compute mode"
So I then go to the apps Configuration > General Settings, turn off the AlwaysOn feature and save. When I refresh to check if the change saved the AlwaysOn feature is back to On.
-
Minh Thành 1 Reputation point
2020-09-10T05:34:34.057+00:00 Hello there. I am experiencing the same issue, I am using a Windows Service Plan P1V2 and I want to scale back to the free tier, since initially I want to continue developing the application and would not like to be charged unnecessarily. AlwaysOn is always enabled back on whenever I go to Configuration > General Settings, disable it and hit refresh.
Please advise on what to do next.
-
ajkuma 21,501 Reputation points • Microsoft Employee
2020-09-10T11:47:02.423+00:00 @Minh Thành , @psaban20 ,
Apologies for any inconvenience with this issue and for the delayed response! I understand this issue can be frustrating.
For a much closer look to identify the root cause and so we can provide immediate and specialized assistance, kindly send an email with subject line “Attn:Ajay” to AzCommunity[at]Microsoft[dot]com referencing this thread, Azure subscription ID, WebApps name, I will follow-up with you.
Having mentioned that, kindly try via CLI and see if that helps.
az webapp config set --name mywebapp --resource-group myresourcegroup --always-on false
Is this your Java WebApp on Windows?
Kindly be assured that I have relayed this feedback to our engineering team.
You could also disable Always on via Resource explorer or PowerShell.
Edited: Added/highlighted more info
-
ajkuma 21,501 Reputation points • Microsoft Employee
2020-09-10T11:48:59.157+00:00 As a workaround, you could also try this (if your requirement fits/feasible):
- Create a new App Service plan(F1 Tier) in the same Resource Group "YourResourcegroup name" and Region example"CentralUS" .
- Navigate to the App Service that is in question.
- On the Menu Blade click on “Change App Service plan” (highlighted in the above screenshot).
- Select the new App Service plan (F1 or D1 Tier).
Note: The App Service plan (ASP) is the scaling container that holds all apps. All apps are in ASPs and when you scale the ASP, you’re also scaling all of the apps in the ASP.
Once again, apologies for all the inconvenience with this issue. Requesting your patience and co-operation!
-
brtrach 251 Reputation points
2020-09-11T02:43:09.347+00:00 I just wanted to add for clarity as well that the product group has identified this as a behavior on Windows Java web apps only at this time. The fix should go into production in the coming weeks.
What Ajay shared in the two above posts will help act as a workaround until the permanent fix is in place.
-
John Rappel 1 Reputation point
2021-01-25T13:42:48.78+00:00 FYI- the workaround does not appear to work either. I have an existing app and I've tried moving it to a new app service plan that is already in Free tier as well as allowing the "Change App Service Plan" to create a new plan (also in Free tier) and neither option works. Also- Azure Resource Explorer does not allow editing the config resource as shown in Ajays screenshot. So as of now, I'm being charged $43 for a test instance I have up on my $50 free due to my VS account. So I can hardly do anything else.
The last update was in September. Please provide a clear roadmap as to when this will be fixed.
-
Kyle 6 Reputation points
2021-04-09T02:03:01.623+00:00 Are there any updates on this issue? It is still happening. I am trying to switch an application service from S1 back to F1 but the Always-on setting cannot be turned off. It keeps resetting itself back to on.
Sign in to comment