Enable Change Tracking and Inventory from an Azure VM

Important

Change Tracking and Inventory using Log Analytics agent has retired on 31 August 2024 and will work on limited support till 01 February 2025. We recommend that you use Azure Monitoring Agent as the new supporting agent. Follow the guidelines for migration from Change Tracking and inventory using Log Analytics to Change Tracking and inventory using Azure Monitoring Agent version.

This article describes how you can use an Azure VM to enable Change Tracking and Inventory on other machines. To enable Azure VMs at scale, you must enable an existing VM using Change Tracking and Inventory.

Note

When enabling Change Tracking and Inventory, only certain regions are supported for linking a Log Analytics workspace and an Automation account. For a list of the supported mapping pairs, see Region mapping for Automation account and Log Analytics workspace.

Prerequisites

Sign in to Azure

Sign in to the Azure portal.

Enable Change Tracking and Inventory

  1. In the Azure portal, select Virtual machines or search for and select Virtual machines from the Home page.

  2. Select the VM for which you want to enable Change Tracking and Inventory. VMs can exist in any region, no matter the location of your Automation account.

  3. On the VM page, select either Inventory or Change tracking under Configuration Management.

  4. You must have the Microsoft.OperationalInsights/workspaces/read permission to determine if the VM is enabled for a workspace. To learn about additional permissions that are required, see Feature setup permissions. To learn how to enable multiple machines at once, see Enable Change Tracking and Inventory from an Automation account.

  5. Choose the Log Analytics workspace and Automation account, and click Enable to enable Change Tracking and Inventory for the VM. The setup takes up to 15 minutes to complete.

Next steps