Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes how to enable VM Insights on a Windows client machine that's online intermittently and not managed using Azure Arc. For Windows 10 and 11 client machines that are always powered on and connected to the internet, use Azure Arc for servers and follow the same process as enabling VM insights on Azure VMs.
Prerequisites
- Log Analytics workspace.
- A Windows device that's domain joined to your Microsoft Entra tenant. The device must be able to connect to the internet.
- See Supported operating systems to ensure that the operating system of the virtual machine or virtual machine scale set you're enabling is supported.
Firewall requirements
- For Azure Monitor Agent firewall requirements, see Define Azure Monitor Agent network settings.
- The VM Insights Map Dependency agent doesn't transmit any data itself, and it doesn't require any changes to firewalls or ports.
Azure Monitor Agent transmits data to Azure Monitor directly or through the Log Analytics gateway if your IT security policies don't allow computers on the network to connect to the internet.
Limitations
The data collection rules you create for Windows client machines can only target the entire Microsoft Entra tenant scope. That is, a data collection rule you associate to a monitored object applies to all Windows client machines on which you install Azure Monitor Agent using this client installer within the tenant. Granular targeting using data collection rules is not supported for Windows client devices.
Azure Monitor Agent doesn't support monitoring of Windows machines connected via Azure private links.
The agent installed using the Windows client installer is designed mainly for Windows desktops or workstations that are always connected. Although you can install Azure Monitor Agent on laptops using the installer, the agent isn't optimized for battery consumption and network limitations on a laptop.
Azure Monitor Metrics is not supported as a destination for Windows client devices.
Deploy VM Insights data collection rule and install agents
To enable VM Insights on a Windows client machine:
If you don't have an existing VM Insights data collection rule, deploy a VM Insights data collection rule using ARM templates. The data collection rule must be in the same region as your Log Analytics workspace.
Follow the steps described in Install Azure Monitor Agent on Windows client devices to:
- Install Azure Monitor Agent on your machine using the client installer.
- Create a monitored object.
- Associate the monitored object to your VM Insights data collection rule.
The monitored object automatically associates your VM Insights data collection rule to all Windows devices in your tenant on which you install the Azure Monitor Agent using the client installer.
To use the Map feature of VM Insights, install Dependency Agent on your machine manually.
Next steps
Now that monitoring is enabled for your virtual machines, this information is available for analysis with VM Insights.
- To view discovered application dependencies, see View VM Insights Map.
- To identify bottlenecks and overall utilization with your VM's performance, see View Azure VM performance.