Azure VM Insights Policy

%3CLINGO-SUB%20id%3D%22lingo-sub-2795122%22%20slang%3D%22en-US%22%3EAzure%20VM%20Insights%20Policy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2795122%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20looking%20for%20a%20built-in%20policy%20that%20can%20enable%20Azure%20VM%20Insights%2C%20at%20the%20moment%20I%20can%20see%20the%20only%20option%20is%20to%20go%20into%20the%20VM%20blade%20and%20then%20monitoring%26gt%3Binsights%20as%20well%20through%20Azure%20monitor.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20looked%20at%20the%20following%20policy%20initiative%20-%20'Enable%20Azure%20Monitor%20for%20VMs'%20but%20there%20is%20no%20policy%20that%20enabled%20VM%20Insights.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

 

I was looking for a built-in policy that can enable Azure VM Insights, at the moment I can see the only option is to go into the VM blade and then monitoring>insights as well through Azure monitor. 

 

I have looked at the following policy initiative - 'Enable Azure Monitor for VMs' but there is no policy that enabled VM Insights. 

1 Reply

@miksingh that is the correct initiative, it has the policies needed to handle the onboarding. You can also take a look at this page for VMI that has details for the policy that can onboard your VMs.  Another way to access the policies by navigating to Azure Monitor in the portal, then choose 'Virtual Machines' under the Insights section, and then the 'Other onboarding options' tab, which will have a tile that links you into the Policy view and pre-sets which policies to use - you just have to choose the correct scope and start assigning the policy. 

 

policy-01.pngpolicy-02.png