Skip to content

Commit e17e265

Browse files
committed
created new file-using policy, updated toc, updated zone-pivot
1 parent ca2bb4f commit e17e265

File tree

4 files changed

+75
-61
lines changed

4 files changed

+75
-61
lines changed

articles/automation/TOC.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,11 @@
266266
- name: Supported regions
267267
href: change-tracking/region-mappings-monitoring-agent.md
268268
- name: Enable change tracking and inventory
269-
href: change-tracking/enable-vms-monitoring-agent.md
269+
items:
270+
- name: At scale using Azure Policy
271+
href: change-tracking/enable-change-tracking-at-scale-policy.md
272+
- name: At scale using Virtual machines
273+
href: change-tracking/enable-vms-monitoring-agent.md
270274
- name: Manage change tracking and inventory
271275
href: change-tracking/manage-change-tracking-monitoring-agent.md
272276
- name: Migration from Change Tracking and Inventory using LA to Change Tracking using AMA
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Enable Change Tracking and Inventory at Scale with Azure Policy
3+
description: Learn how to use Azure Policy to enable change tracking and inventory at scale for Windows and Linux VMs, including Arc-enabled VMs and VM Scale Sets.
4+
services: automation
5+
ms.subservice: change-inventory-management
6+
ms.date: 03/31/2025
7+
ms.topic: how-to
8+
ms.service: azure-automation
9+
---
10+
11+
# Enable Change Tracking at scale using policy
12+
13+
**Applies to:** :heavy_check_mark: Windows VMs :heavy_check_mark: Linux VMs :heavy_check_mark: Windows Registry :heavy_check_mark: Windows Files :heavy_check_mark: Linux Files :heavy_check_mark: Windows Software
14+
15+
This article provides detailed procedure on how you can enable change tracking and inventory at scale using policy.
16+
17+
## Prerequisite
18+
19+
- You must [create the Data collection rule](enable-vms-monitoring-agent.md#create-data-collection-rule).
20+
21+
## Enable Change tracking
22+
23+
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.
24+
25+
1. In Azure portal, select **Policy**.
26+
1. In the **Policy** page, under **Authoring**, select **Definitions**
27+
1. In **Policy | Definitions** page, under the **Definition Type** category, select **Initiative** and in **Category**, select **Change Tracking and Inventory**. You'll see a list of three policies:
28+
29+
#### [Arc-enabled virtual machines](#tab/arcvm)
30+
31+
- Select *Enable Change Tracking and Inventory for Arc-enabled virtual machines*.
32+
33+
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-arc-virtual-machine-manager-inline.png" alt-text="Screenshot showing the selection of Arc-enabled virtual machines." lightbox="media/enable-vms-monitoring-agent/enable-for-arc-virtual-machine-manager-expanded.png":::
34+
35+
#### [Virtual machines Scale Sets](#tab/vmss)
36+
37+
- Select *Enable Change Tracking and inventory for Virtual Machine Scale Sets*.
38+
39+
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-virtual-machine-scale-set-inline.png" alt-text="Screenshot showing the selection of virtual machines scale sets." lightbox="media/enable-vms-monitoring-agent/enable-for-virtual-machine-scale-set-expanded.png":::
40+
41+
#### [Virtual machines](#tab/vm)
42+
43+
- Select *Enable Change Tracking and inventory for virtual machines*.
44+
45+
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-vm-inline.png" alt-text="Screenshot showing the selection of virtual machines." lightbox="media/enable-vms-monitoring-agent/enable-for-vm-expanded.png":::
46+
47+
48+
1. Select *Enable Change Tracking and Inventory for virtual machines* to enable the change tracking on Azure virtual machines.
49+
This initiative consists of three policies:
50+
51+
- Assign Built in User-Assigned Managed identity to Virtual machines
52+
- Configure ChangeTracking Extension for Windows virtual machines
53+
- Configure ChangeTracking Extension for Linux virtual machines
54+
55+
:::image type="content" source="media/enable-vms-monitoring-agent/enable-change-tracking-virtual-machines-inline.png" alt-text="Screenshot showing the selection of three policies." lightbox="media/enable-vms-monitoring-agent/enable-change-tracking-virtual-machines-expanded.png":::
56+
57+
1. Select **Assign** to assign the policy to a resource group. For example, *Assign Built in User-Assigned Managed identity to virtual machines*.
58+
59+
> [!NOTE]
60+
> 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.
61+
62+
1. In the **Enable Change Tracking and Inventory for virtual machines** page, enter the following options:
63+
1. 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**.
64+
1. In **Parameters**, select the option in the **Bring your own user assigned managed identity**.
65+
1. 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](#create-data-collection-rule).
66+
1. Select **Review + create**.
67+
68+
## Next steps
69+
70+
* To learn about alerts, see [Configuring alerts](../change-tracking/configure-alerts.md).

articles/automation/change-tracking/enable-vms-monitoring-agent.md

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -136,64 +136,6 @@ Follow these steps to associate the data collection rule to the Arc-enabled VMs:
136136
---
137137
:::zone-end
138138

139-
::: zone pivot="at-scale-policy"
140-
141-
### Enable Change Tracking at scale using policy
142-
143-
This section provides detailed procedure on how you can enable change tracking and inventory at scale using policy.
144-
145-
### Prerequisite
146-
- You must [create the Data collection rule](#create-data-collection-rule).
147-
148-
### Enable Change tracking
149-
150-
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.
151-
152-
1. In Azure portal, select **Policy**.
153-
1. In the **Policy** page, under **Authoring**, select **Definitions**
154-
1. In **Policy | Definitions** page, under the **Definition Type** category, select **Initiative** and in **Category**, select **Change Tracking and Inventory**. You'll see a list of three policies:
155-
156-
#### [Arc-enabled virtual machines](#tab/arcvm)
157-
158-
- Select *Enable Change Tracking and Inventory for Arc-enabled virtual machines*.
159-
160-
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-arc-virtual-machine-manager-inline.png" alt-text="Screenshot showing the selection of Arc-enabled virtual machines." lightbox="media/enable-vms-monitoring-agent/enable-for-arc-virtual-machine-manager-expanded.png":::
161-
162-
#### [Virtual machines Scale Sets](#tab/vmss)
163-
164-
- Select *Enable Change Tracking and inventory for Virtual Machine Scale Sets*.
165-
166-
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-virtual-machine-scale-set-inline.png" alt-text="Screenshot showing the selection of virtual machines scale sets." lightbox="media/enable-vms-monitoring-agent/enable-for-virtual-machine-scale-set-expanded.png":::
167-
168-
#### [Virtual machines](#tab/vm)
169-
170-
- Select *Enable Change Tracking and inventory for virtual machines*.
171-
172-
:::image type="content" source="media/enable-vms-monitoring-agent/enable-for-vm-inline.png" alt-text="Screenshot showing the selection of virtual machines." lightbox="media/enable-vms-monitoring-agent/enable-for-vm-expanded.png":::
173-
174-
175-
1. Select *Enable Change Tracking and Inventory for virtual machines* to enable the change tracking on Azure virtual machines.
176-
This initiative consists of three policies:
177-
178-
- Assign Built in User-Assigned Managed identity to Virtual machines
179-
- Configure ChangeTracking Extension for Windows virtual machines
180-
- Configure ChangeTracking Extension for Linux virtual machines
181-
182-
:::image type="content" source="media/enable-vms-monitoring-agent/enable-change-tracking-virtual-machines-inline.png" alt-text="Screenshot showing the selection of three policies." lightbox="media/enable-vms-monitoring-agent/enable-change-tracking-virtual-machines-expanded.png":::
183-
184-
1. Select **Assign** to assign the policy to a resource group. For example, *Assign Built in User-Assigned Managed identity to virtual machines*.
185-
186-
> [!NOTE]
187-
> 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.
188-
189-
1. In the **Enable Change Tracking and Inventory for virtual machines** page, enter the following options:
190-
1. 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**.
191-
1. In **Parameters**, select the option in the **Bring your own user assigned managed identity**.
192-
1. 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](#create-data-collection-rule).
193-
1. Select **Review + create**.
194-
195-
:::zone-end
196-
197139
### Create data collection rule
198140

199141
1. Download [CtDcrCreation.json](change-tracking-data-collection-rule-creation.md) file on your machine.

articles/zone-pivot-groups.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,8 +1652,6 @@ groups:
16521652
title: Single Azure VM and Azure Arc-enabled VM
16531653
- id: multiple-portal-cli
16541654
title: Multiple VMs using Azure portal and Azure CLI
1655-
- id: at-scale-policy
1656-
title: At scale using policy
16571655
# Owner: marymichael
16581656
- id: web-apps-assessment-app-service
16591657
title: Assess ASP.NET web apps for migration to Azure App Service

0 commit comments

Comments
 (0)