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.
Applies to: ✔️ Windows VMs ✔️ Linux VMs ✔️ Windows Registry ✔️ Windows Files ✔️ Linux Files ✔️ Windows Software
This article provides detailed procedure on how you can enable change tracking and inventory at scale using Azure policy.
Prerequisite
- You must create the Data collection rule.
Enable Change tracking
Using the Deploy if not exist (DINE) policy, you can enable Change tracking with Azure Monitoring Agent at scale and in the most efficient manner.
In Azure portal, select Change Tracking and Inventory.
In the Change Tracking and Inventory Center | Machines, page, under Manage, select Policy.
In Change Tracking and Inventory Center | Policy page, under the filter Definition Type, select Initiative and in Category filter, select Change Tracking and Inventory. You'll see a list of three policies:
Select Enable Change Tracking and Inventory for virtual machines to enable the change tracking on Azure virtual machines. This initiative consists of three policies:
Select Assign to assign the policy to a resource group. For example, Assign Built in User-Assigned Managed identity to virtual machines.
Note
The Resource group contains virtual machines and when you assign the policy, it will enable change tracking at scale to a resource group. The virtual machines that are on-boarded to the same resource group will automatically have the change tracking feature enabled.
In the Enable Change Tracking and Inventory for virtual machines page, enter the following options:
- In Basics, you can define the scope. Select the three dots to configure a scope. In the Scope page, provide the Subscription and Resource group.
- In Parameters, select the option in the Bring your own user assigned managed identity.
- Provide the Data Collection Rule Resource id. Learn more on how to obtain the Data Collection Rule Resource ID after you create the Data collection rule.
- Select Review + create.