Azure Monitor for VMs using Policy

tbgangav-MSFT 10,381 Reputation points
2020-05-15T07:02:28.37+00:00

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.
789 questions
0 comments No comments
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 17,326 Reputation points
    2020-05-15T07:08:38.21+00:00

    @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