CmdID / az / az webapp / az webapp config / az webapp config storage-account
az webapp config storage-account update
Update an existing Azure storage account configuration on a web app. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--slot-settingWith slot setting you can decide to make BYOS configuration sticky to a slot, meaning that when that slot is swapped, the storage account stays with that slot.