Tags (name or value) should not allow leading or trailing white space
I am unable to think of a use case where having leading or trailing white space on a tag name (or value for that matter) adds value to the feature, and most other tools already strip spaces on tags. Additionally it causes issues with being able to retrieve tags because the powershell command to retrieve tags DOES trim the white space. Furthermore these display differently in the portal and spotting the space is not intuitive if you don't know that it is there, until you notice you have multiple tags with the "same" value.
Example: "Environment" as a tag name is different for setting than " Environment".
The only difference is you are unable to retrieve the later using powershell.
(Get-AzResource -TagName " Environment").Name
returns 0 results (I also tried with %20 with the same results)
Thanks for the feedback, we will definitely look in to this.