You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Select an action group to be configured for the new alert rules. You can choose between using the default action group (as explained above) or using one of your existing action groups.
69
+
3. Check the option "Migrate all Application Insights resources in this subscription", or leave it unchecked if you want to migrate only the current resource you are in.
70
+
> [!NOTE]
71
+
> Checking this option will impact all **existing** Application Insights resources (that were not migrated yet). As long as the migration to alerts is in preview, new Application Insights resources will still be created with non-alerts smart detection.
72
+
73
+
72
74
73
-
4. Select **Migrate** to start the migration process.
75
+
4. Select an action group to be configured for the new alert rules. You can choose between using the default action group (as explained above) or using one of your existing action groups.
76
+
77
+
5. Select **Migrate** to start the migration process.
@@ -84,7 +88,7 @@ You can start the smart detection migration using the following Azure CLI comman
84
88
az rest --method POST --uri /subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/migrateFromSmartDetection?api-version=2021-01-01-preview --body @body.txt
85
89
```
86
90
87
-
Where body.txt should include:
91
+
For migrating a single Application Insights resource, body.txt should include:
88
92
89
93
```json
90
94
{
@@ -95,7 +99,17 @@ Where body.txt should include:
95
99
"customActionGroupName" : "{actionGroupName}"
96
100
}
97
101
```
102
+
For migrating all the Application Insights resources in a subscription, body.txt should include:
98
103
104
+
```json
105
+
{
106
+
"scope": [
107
+
"/subscriptions/{subscriptionId} "
108
+
],
109
+
"actionGroupCreationPolicy" : "{Auto/Custom}",
110
+
"customActionGroupName" : "{actionGroupName}"
111
+
}
112
+
```
99
113
**ActionGroupCreationPolicy** selects the policy for migrating the email settings in the smart detection rules into action groups. Allowed values are:
100
114
101
115
-**'Auto'**, which uses the default action groups as described in this document
0 commit comments