Open rink72 opened 3 years ago
@rink72 Apologies for the delayed response and thanks for bringing this to our notice. We will loop relevant owners to have a look into this issue.
Thanks again for reporting this.
@rink72 can you please try adding tags like this? $tags = @(@{"Name"="Dept";"Value"="Finance";},@{"Name"="Status"; "Value"="Normal";})
@RakeshMohanMSFT , that appears to work and apply tags. However, we apply tags to many other resources and this is not how any other Az cmdlets seem to work with the tag parameter?
Also, I was testing using it how we were originally trying to and this actually reverted tags which doesn't seem correct at all. Steps to reproduce below:
a: "b", c: "d"
@{test = "test"}
a: "b", c: "d"
. This doesn't seem like an expected behaviour?
Description
When using
New-AzCognitiveServicesAccount
orSet-AzCognitiveServicesAccount
the-Tag
parameter does not set tags and in fact will remove existing tags if specified.Steps to reproduce
Environment data
Module versions
Debug output