Azure / Azure/azure-cli

Azure JSON Deployment Template Parameters Case Sensitive

Open
#15,462 3 comments 0 reactions 1 assignee Claimed by @zhoxing-ms View on GitHub
act-identity-squad ARM feature-request Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

When applying NSG security rules using a Deployment JSON template file, the parameters for Service tags in NSG rules are case sensitive e.g. we want an outbound rule with destination Service Tag AzureCloud.UKSOUTH. When we pass a template with AzureCloud.UKSouth. The NSG rules are applied. However, when you view them in the portal the rule name is displayed AzureCloud.UKSouth however upon attempting to edit the rule it appears that it has not been mapped correctly i.e. _Destination_ = Service Tag but Destination service tag_ is blank. I think the rule is applied, though it is unclear.

**Describe the solution you'd like**
The service tag names should not be case sensitive. Creating from CLI, python sdk, powershell explicitly from command parameters or via template files should be case insensitive.
![Outbound_Service_Tag_Edit](https://user-images.githubusercontent.com/9569711/95589877-44e3e180-0a3d-11eb-9819-4eee6d8f6491.PNG)
![Outbound_Service_Tag_View](https://user-images.githubusercontent.com/9569711/95589880-457c7800-0a3d-11eb-871e-2829ff98fa67.PNG)

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.