Ensure that auto-provisioning extensions are enabled within the Microsoft Defender for Cloud settings to collect security data and events from Azure cloud resources such as virtual machines (VMs) and containers. By enabling auto provisioning, you can ensure that the software agents needed for processes such as vulnerability assessments, log analytics, and container monitoring are automatically installed on your cloud infrastructure.
When automatic provisioning is enabled, software agents are installed as part of infrastructure deployment. For example, if the Azure Monitor Agent (AMA) is autoprovisioned in Microsoft Defender for Cloud, it will be installed on all supported virtual machines. The AMA collects monitoring data from the guest OS of Azure and hybrid virtual machines (VMs), delivering it to Azure Monitor (for use by features and insights) and Microsoft Defender for Cloud. This data is required for analysis to provide visibility into missing updates, misconfigured OS security settings, endpoint protection status, and health and threat detections. AMA replaces the Log Analytics agent (also known as Microsoft Monitoring Agent (MMA) or OMS agent) for Windows and Linux machines in Azure, non-Azure, and on-premises environments.
The Log Analytics agent has been deprecated and retired on August 31, 2024, and is being replaced by the Azure Monitor Agent (AMA).
Audit
To determine if auto-provisioning extensions are enabled within the Microsoft Defender for Cloud settings, perform the following operations:
Checking for auto-provisioning extensions in Microsoft Defender for Cloud using Microsoft Azure Portal is not currently supported.Remediation / Resolution
To enable auto-provisioning extensions in the Microsoft Defender for Cloud settings, perform the following operations:
Enabling auto-provisioning extensions in Microsoft Defender for Cloud using Microsoft Azure Portal is not currently supported.References
- Azure Official Documentation
- Microsoft Defender for Cloud documentation
- Microsoft Defender for Cloud overview
- Azure Monitor Agent (AMA) in Defender for Cloud
- Azure Updates
- Azure Monitor Agent overview
- Enable Defender for SQL Servers on Machines
- Azure Command Line Interface (CLI) Documentation
- az account list
- az account set
- az account get-access-token