Closed
Description
I use "az webapp deployment slot swap" command with -action reset option. This remove all application and connection strings settings including slot settings.
To Reproduce same situation
- I create new web apps
- Add new slot (name is = test)
- Add sample application settings both slot (test and production)
- Final status in test slot application settings
- Run
az webapp deployment slot swap --name xxx --resource-group yyy --slot test --action preview
command - Run
az webapp deployment slot swap --name xxx --resource-group yyy --slot test --action reset
- Test slot application settings are deleted
Normally all settings should not be deleted. I tried the same issue Azure portal and "Switch-AzureRmWebAppSlot" everything worked as it should
Environment summary
Install Method is MSI / CLI version (2.0.43) / OS version Windows / Shell Type Windows
Activity