Closed luutrongnghia closed 6 months ago
Hi @luutrongnghia,
2.57.0 is not the latest Azure CLI(2.58.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Hello, I have the exact same error when I try to add/edit/remove any env variable in my Static Web App (NextJs) (Even using the Azure Portal UI)
Hi everyone, the issue stemmed from an issue on the Azure Static Web Apps side and has now been fixed. Thanks for your patience.
This issue has been resolved. Thanks for your support.
We still face this issue. The first time we noticed it was on Friday on one of our Static Web App, but it disappeared on Friday evening (European time). Today we face this issue on a different Static Web App. We tried from both Azure Portal and Azure CLI and the result is the same.
Describe the bug
This error occurs when I try to update Environment variables: API_CHAT_URL or when I delete all variables.
Related command
az staticwebapp appsettings set --name swa-staging-1 --setting-names "API_CHAT_URL=https://chat-api.example.com/"
Errors
Failed to update app settings: AppSettings is invalid. {"Error":{"Code":"InvalidAppSettings","Message":"AppSetting with name 'WEBSITES_INTERNAL_FREESKU_SITE' is not allowed.","ExtendedData":null,"Details":null}}
Issue script & Debug output
Expected behavior
Update successfully.
Environment Summary
azure-cli 2.57.0 *
core 2.57.0 * telemetry 1.1.0
Dependencies: msal 1.26.0 azure-mgmt-resource 23.1.0b2
Python location '/opt/homebrew/Cellar/azure-cli/2.57.0/libexec/bin/python' Extensions directory '/Users/nghia/.azure/cliextensions'
Python (Darwin) 3.11.7 (main, Dec 4 2023, 18:10:11) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Additional context
No response