question

PhillipDieppa-3118 avatar image
0 Votes"
PhillipDieppa-3118 asked XiaopoYang-MSFT edited

[BUG] ARM Templates Deployed via Cloud Shell renames tag names

Hello! I recently ran into an issue when I tried deploying an ARM Template from the cloud shell. I am using PowerShell Core 7.1.4 on both my local machine and Cloud Shell. When I deploy the ARM Template and parameter file from my local machine, the tagValues for the resource update correctly. That is, the tag name is called CWB-ParentOrganization. When the deployment finishes, the result says "CWB-ParentOrganization".

The issue starts when I try to deploy the same template and parameter file via the Cloud Shell. The tag name changes from "CWB-ParentOrganization" to "cwB-ParentOrganization". This is a trivial issue that can be fixed with normalization in our web application. However, this issue identified a problem in our web application. We noticed that this problem started after 27 August 2021.

Is there a known fix to prevent the Cloud Shell from formatting the tag names upon deployment?

This is the resulting output from my local computer when I deploy the template.
131175-screenshot-2021-09-10-150220.png

This is the resulting output from the Cloud Shell. Notice the tag values have changed
131100-screenshot-2021-09-10-150032.png



not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers