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 to enable Azure Change Tracking and Inventory (CTI) at scale using Azure policy.
Prerequisite
Before you enable Azure CTI, ensure you Create a data collection rule (DCR) or use an existing one.
Enable Azure Change Tracking and Inventory at scale
Using the Deploy if not exist (DINE) policy, you can enable Change tracking with Azure Monitor Agent at scale and in the most efficient manner.
Sign in to the Azure portal and select Change Tracking and Inventory.
On the Change Tracking and Inventory Center | Machines pane, under Manage, select Policy.
On the Change Tracking and Inventory Center | Policy pane, under the filter Definition Type, select Initiative and in Category filter, select Change Tracking and Inventory. You'll see a list of three policies:
Arc-enabled virtual machines
Virtual machines scale sets
Virtual machines
Select Enable Change Tracking and Inventory for virtual machines to enable the change tracking on Azure virtual machines. This step includes three policies, each determined by the operating system type of the selected machine:
Select Assign initiative 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.
On the Enable Change Tracking and Inventory for virtual machines pane, enter the following options:
- On the Basics tab, you can define the scope. Select the three dots to configure a scope.
- On the Scope pane, provide the Subscription and Resource Group.
- On the Parameters tab, 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.
Next steps
Learn more on how to enable Azure CTI at scale using Azure portal.