Hi,
I'm trying to update the antimalware configuration on an Azure VM. I have created the JSON file and following the instructions herehttps://msdn.microsoft.com/library/azure/dn771716.aspx
I'm running the command however getting an error. Any help please?
Get-AzureVM-ServiceName$VMServiceName-Name$VMName|Set-AzureVMMicrosoftAntimalwareExtension-AntimalwareConfigFile$AVConfigFile|Update-AzureVM
Update-AzureVM : BadRequest: Invalid update to extension reference for role: ***** and reference: IaaSAntimalware.
OperationID : 'aae55d7c09d709459d138086d3cdc608'
At line:1 char:116
+ ... ion -Disable | Update-AzureVM
+ ~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Update-AzureVM], ComputeCloudException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.UpdateAzureVMCommand
Thanks in advance.