Skip to content

WebApp:az cli update app setting command always making slotsetting to true #16838

@akshaychopra5207

Description

@akshaychopra5207

I am facing the same issue with az cli 2.16 version. Tried to upgrade it to 2.18 and still getting the same issue
az webapp config appsettings set -g dp-yamlcont-master -n dp-yamlcont-cont-test --slot staging --settings @appSettings.json
The command above. always make the slot setting to true even if we define false in JSON

[

{
    "name": "testNewApp" ,
    "value": "time",
    "slotsetting": "false"
}
,
{
    "name": "testNewApp1" ,
    "value": "time1",
    "slotsetting": "false"
}
,
{
    "name": "testNewApp2" ,
    "value": "time2",
    "slotsetting": "false"
}
,
{
    "name": "testNewApp3" ,
    "value": "time3",
    "slotsetting": "false"
}
,
{
    "name": "testNewApp2" ,
    "value": "@Microsoft.KeyVault(SecretUri=https://dpyamlcont.vault.azure.net/secrets/test1/f6d4d4f4dff74a689c29dfd180bc0740)",
    "slotsetting": "false"
}
,
{
    "name": "testNewApp3" ,
    "value": "@Microsoft.KeyVault(SecretUri=https://dpyamlcont.vault.azure.net/secrets/test2/2416121e38d74e7495f0d0fc2e3d9be6)",
    "slotsetting": "false"
}
]

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions