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
- Azure subscription. If you don't have one yet, you can activate your MSDN subscriber benefits or sign up for a free account.
- Automation account to manage machines.
- A virtual machine.
Sign in to Azure
Sign in to the Azure portal.
Enable Change Tracking and Inventory
In the Azure portal, select Virtual machines or search for and select Virtual machines from the Home page.
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.
On the VM page, select either Inventory or Change tracking under Configuration Management.
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.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
For details of working with the feature, see Manage Change Tracking and Manage Inventory.
To troubleshoot general problems with the feature, see Troubleshoot Change Tracking and Inventory issues.