

To customise the Microsoft Antimalware extension on an existing virtual machine or to install it on a virtual machine where it does not exist becuase it was not added when the server was initially provisioned. Adding Microsoft Antimalware To existing virtual machines Once you have downloaded or copied the code close the Template blade and click OK on the Install extension blade.Ĭlick OK on the Extensions blade. This code is used to upload the template that you just downloaded with changes to allow you to adjust the settings on the Microsoft Antimalware settings on your virtual machine later. remain the same as directly pasting into Notepad breaks the line breaks!Ĭlick the PowerShell tab (shown) and copy the code from here. Or use an editor of your choice, but make sure the line breaks etc. Copy the Template text into Wordpad (not Notepad) and then copy paste again into Notepad if you want to just quickly edit it. Monitoring the antimalware is done via Windows Event Logs and is enabled automatically to your selected storage account.īefore you click OK, click Automation Options and grab the scripts needed to modify this extension later. To enable antimalware with a custom configuration, input the supported values for the configuration settings provided on the Install Extension blade and click OK. To enable antimalware with the default configuration, click Create on the Add Extension blade without inputting any configuration setting values. To add it create a new VM in the Azure portal and from the Settings blade choose ExtensionsĬlick Add extension and then choose Microsoft Antimalwareįrom the Install Extension blade enter your exclusions, scan times etc. The addition of malware protection to your new virtual machine happens during the VM creation process. We will show how to do that in the section part of this article. The agent can be added easily when you are creating a new VM, which we will show first below using the resource manager model, but also can be added after the virtual machine creation and updated with changes as you need. The Microsoft AntiMalware agent is a virtual machine extension in Azure that adds support for build in antimalware management within your virtual machines hosted in Azure.
