macojn
macojn

Reputation: 43

How can i remove the Azure WebApp AppSetting WEBSITE_TIME_ZONE

when I delete the AppSetting "WEBSITE_TIME_ZONE" in my Azure Webapp (Linux), it is there again after refreshing.

I can delete other AppSettings without problems, but this particular entry keeps coming back.

This is how I proceed. I delete the setting "WEBSITE_TIME_ZONE" via the trash can button, click on Save (then the entry is gone), then I click on Refresh and then the entry shows up again.

Has anyone had this problem and can help me?

Upvotes: 4

Views: 1221

Answers (2)

user10056111
user10056111

Reputation: 91

You don't need to delete "WEBSITE_TIME_ZONE"
instead change it to a valid TZ table value. For example "America/New_York"

Upvotes: 0

Bhargavi Annadevara
Bhargavi Annadevara

Reputation: 5512

Please try deleting that specific app setting via the command line.

az webapp config appsettings delete is the Azure CLI command:

az webapp config appsettings delete --name <your-webapp-name> --resource-group <resource-group> --setting-names <setting-names>

P.S.: You can use the Azure Cloud Shell if you do not have Azure CLI installed on your machine.

Upvotes: 2

Related Questions