Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Cannot update Antimalware config using Powershell on Azure VM

$
0
0

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.


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>