-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Closed
Copy link
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Describe the bug
Setting App Settings that contain an equal sign (=) for an Azure Static Web App using the CLI truncates the setting after the first equal sign.
Command Name
az staticwebapp appsettings set
Errors:
The setting value is truncated. Only the part before the first equal sign (=) is set.
To Reproduce:
az staticwebapp appsettings set --name {name} --setting-names StorageAccount="DefaultEndpointsProtocol=https;AccountName={account_name};EndpointSuffix=core.windows.net;AccountKey={account_key}"
Expected Behavior
az staticwebapp appsettings list --name {name}outputs the following:
{
"id": "{id}",
"kind": null,
"location": "West Europe",
"name": "appsettings",
"properties": {
"StorageAccount": "DefaultEndpointsProtocol=https;AccountName={account_name};EndpointSuffix=core.windows.net;AccountKey={account_key}"
},
"resourceGroup": "{resource_group}",
"type": "Microsoft.Web/staticSites/config/functionappsettings"
}Actual Behavior
az staticwebapp appsettings list --name {name}outputs the following:
{
"id": "{id}",
"kind": null,
"location": "West Europe",
"name": "appsettings",
"properties": {
"StorageAccount": "DefaultEndpointsProtocol="
},
"resourceGroup": "{resource_group}",
"type": "Microsoft.Web/staticSites/config/functionappsettings"
}The StorageAccount property is missing the part after the first equal sign (=).
Environment Summary
macOS-11.2.3-x86_64-i386-64bit
Python 3.8.9
Installer: HOMEBREW
azure-cli 2.22.1
Additional Context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Web Appsaz webappaz webappquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that