Failed to create a tag starting with -- in Azure portal with CLI commands
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
1. az group create --location eastus --name tagtest --tags "--key=value"
2. az group create --location eastus --name tagtest --tags "--key"="value"
**Describe the bug**
1. Failed to create a tag starting with "--". Such as "--key:value".
2. But in Azure portal, tag name starting with "--" can be created successfully.

**To Reproduce**
1. Create a tag in Azure Portal with CLI commands. For example, a resource group with a tag "--key:value".
**Expected behavior**
1. A tag starting with "--" can be created successfully using CLI commands.
**Environment summary**
1. azure-cli 2.39.0
Contributor guide
Assessment
This issue has not been assessed yet.