Azure Monitor for VMs using Policy

tbgangav-MSFT 8,291 Reputation points

How to enable Azure Monitor for VMs for Azure virtual machines or virtual machine scale sets by using Azure Policy?

[Note: As we migrate from MSDN, this answer has been posted by an Azure Cloud Engineer as a frequently asked question] Source: Azure Docs

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
602 questions
0 comments No comments
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 10,546 Reputation points

    @tbgangav-MSFT To configure enabling the Log Analytics and Dependency agents and identified virtual machines that aren't compliant using Policy i.e., to enable Azure Monitor for VMs by using Azure Policy in your tenant:

    Assign the initiative to a scope: management group, subscription, or resource group.

    Review and remediate compliance results.

    For more information w.r.t it, refer this document.

    0 comments No comments

0 additional answers

Sort by: Most helpful