如何删除 Azure WebApp AppSetting WEBSITE_TIME_ZONE

问题描述

当我删除 Azure Web 应用程序 (Linux) 中的应用设置“WEBSITE_TIME_ZONE”时,刷新后它又出现了。

我可以毫无问题地删除其他 AppSettings,但此特定条目不断出现。

这就是我继续的方式。我通过垃圾桶按钮删除了设置“WEBSITE_TIME_ZONE”,点击保存(然后条目消失了),然后我点击刷新,然后条目再次显示

有没有人遇到过这个问题并且可以帮助我?

解决方法

请尝试通过命令行删除该特定应用设置。

az webapp config appsettings delete 是 Azure CLI 命令:

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

P.S.:如果你的机器上没有安装 Azure CLI,你可以使用 Azure Cloud Shell