Azure Monitor for VMs using Policy

tbgangav-MSFT 10,421 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.
932 questions
0 comments No comments
{count} votes

Accepted answer
  1. Swathi Dhanwada 18,781 Reputation points Microsoft Employee
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.