I tried adding tags to a VM present in Resource Group using the Cmdlet "Set-AzureResource". But this returns an error stating the resource doesn't exist. Although this resource is returned when i execute the command "Get-AzureResource". But when i execute the command "Get-AzureResource" with parameter "-Name" it returns error stating the resource doesn't exist.
But am able to add tags to Resource Group using the command "Set-AzureResourceGroup" and similarly am able to retrieve the details using "Get-AzureResourceGroup" command. Is it possible to assign tags only to a Resource group?
Can anyone please let me know about this?
Thanks,
Anish