When attempting to create a managedapp with the --tags parameter, we get the following error:
Parameter 'tags' must be of type '{str}'
Have tried variations of:
'a=b'
"a=b"
'a'='b'
"a"="b"
{'a':'b'}
Command Name
az managedapp create
Errors:
validation error: Parameter 'tags' must be of type '{str}'
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az managedapp create --kind {} --managed-rg-id {} --name {} --resource-group {} --location {} --managedapp-definition-id {} --subscription {} --parameters {} --tags {}Command to validate and work
Windows-10-10.0.18362-SP0
Python 3.6.6
Installer: MSI
azure-cli 2.6.0 *
add to S172
@wahyuen Hi, could you please show me the specific parameters you used? please add --debug to the original command and email the printed information to me~
My email address is Zhou.[email protected], thanks~
@zhoxing-ms I've emailed the output to yourself
@wahyuen Thank you for your feedback. I have located the problem and will submit a PR to fix it
Most helpful comment
@wahyuen Thank you for your feedback. I have located the problem and will submit a PR to fix it