storing vmSize with the exactly the same capitalization independently how VM was created
VmSize is stored with the capitalization how it was called during creation (v2 <> V2).
VM with v2
az vm create -n clitest1 -g SAP --image UbuntuLTS --size Standard_D13_v2
az vm show -g SAP -n clitest1 -d
VM with V2
az vm create -n clitest2 -g SAP --image UbuntuLTS --size Standard_D13_V2
az vm show -g SAP -n clitest2 -d
It causes additional data cleaning necessary during azure data analyzes.