Skip to content

Commit 9bc0519

Browse files
Merge pull request #312682 from msmbaldwin/vm-ade
Add warnings about Antimalware extension overwriting Defender AV settings
2 parents 04a0caa + a53c7fb commit 9bc0519

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

articles/security/fundamentals/antimalware-code-samples.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ You can use these samples to deploy and configure the Microsoft Antimalware exte
2929
> [!NOTE]
3030
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
3131
32+
> [!WARNING]
33+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
34+
3235
```powershell
3336
# Script to add Microsoft Antimalware extension to Azure Resource Manager VMs
3437
# Specify your subscription ID
@@ -84,6 +87,9 @@ The code sample below shows how you can enable IaaS Antimalware extension using
8487
> [!NOTE]
8588
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
8689
90+
> [!WARNING]
91+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
92+
8793
```powershell
8894
# Script to add Microsoft Antimalware extension to VM Scale Set(VMSS) and Service Fabric Cluster(in turn it used VMSS)
8995
# Login to your Azure Resource Manager Account and select the Subscription to use
@@ -137,6 +143,9 @@ The code sample below shows how you can add or configure Microsoft Antimalware t
137143
> [!NOTE]
138144
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
139145
146+
> [!WARNING]
147+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
148+
140149
```powershell
141150
# Create Antimalware extension object, where file is the AntimalwareSettings
142151
$xmlconfig = [IO.File]::ReadAllText("C:\path\to\file.xml")

articles/security/fundamentals/antimalware.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ The default configuration settings are applied to enable Antimalware for Azure C
9898

9999
The following table summarizes the configuration settings available for the Antimalware service. The default configuration settings are marked under the column labeled "Default."
100100

101+
> [!WARNING]
102+
> Deploying or updating the Microsoft Antimalware extension replaces existing Microsoft Defender Antivirus settings, including exclusions.
103+
101104
![Table 1](./media/antimalware/sec-azantimal-tb18.png)
102105

103106
## Antimalware deployment scenarios

0 commit comments

Comments
 (0)