Skip to content

WebApp:webapp config appsettings set command causing all values to default to "false" in version 2.24.0 #18266

@Bytezart

Description

@Bytezart

Describe the bug
When executing the webapp config appsettings set command the result Application Settings in the WebApp Configuration value is set to false for each setting defined in the settings array.

To Reproduce
Executing the following will cause the all setting values to be set to false and not the value defined for the parameter.

JSON Settings Example
[
{
"slotSetting": false,
"name": "ExampleParameter1",
"value": "@Microsoft.KeyVault(SecretUri=https://xxxxx.vault.azure.net/secrets/ExampleParameter1)"
},
{
"slotSetting": false,
"name": " ExampleParameter2",
"value": "@Microsoft.KeyVault(SecretUri=https://xxxxx.vault.azure.net/secrets/ExampleParameter2)"
}
]

Command Example
az webapp config appsettings set --name $WebAppName --resource-group $ResourceGroup --settings @$settings.json

Expected behavior
Prior to version 2.24.0 the Application Settings in the WebApp Configuration would reflect the value defined in the JSON and would not be set to "false".

image

Environment summary
image

Metadata

Metadata

Labels

Service AttentionThis issue is responsible by Azure service team.Web Appsaz webapp

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions