Skip to content

Commit 19bba2d

Browse files
committed
edit pass: alerts-articles-batch-7
1 parent 55b73e3 commit 19bba2d

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

articles/azure-monitor/alerts/action-groups.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ When you create or update an action group in the Azure portal, you can test the
119119

120120
1. Define an action, as described in the previous few sections. Then select **Review + create**.
121121

122-
> [!NOTE]
123-
>
124-
> If you're editing an already existing action group, you must save changes to the action group before you begin testing.
122+
> [!NOTE]
123+
>
124+
> If you're editing an already existing action group, you must save changes to the action group before you begin testing.
125125
126126
1. On the page that lists the information you entered, select **Test action group**.
127127

articles/azure-monitor/alerts/alerts-logic-apps.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,20 @@ This example creates a logic app that uses the [common alerts schema](./alerts-c
143143

144144
1. In the search field, search for **Outlook**.
145145
1. Select **Office 365 Outlook**.
146+
146147
:::image type="content" source="./media/alerts-logic-apps/choose-operation-outlook.png" alt-text="Screenshot that shows the Add an action page of the Logic Apps Designer with Office 365 Outlook selected.":::
147148
1. Select **Send an email (V2)** from the list of actions.
148149
1. Sign in to Office 365 when you're prompted to create a connection.
149150
1. Create the email **Body** by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list.
150-
For example, for:
151-
- **An alert has monitoring condition:** select **monitorCondition** from the **Dynamic content** list.
152-
- **Date fired:** select **firedDateTime** from the **Dynamic content** list.
153-
- **Affected resources:** and select **alertTargetIDs** from the **Dynamic content** list.
151+
For example:
152+
- **An alert has monitoring condition:** Select **monitorCondition** from the **Dynamic content** list.
153+
- **Date fired:** Select **firedDateTime** from the **Dynamic content** list.
154+
- **Affected resources:** Select **alertTargetIDs** from the **Dynamic content** list.
154155

155-
1. In the **Subject** field, create the subject text by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list. For example, for:
156-
- **Alert:** select **alertRule** from the **Dynamic content** list.
157-
- **with severity:** select **severity** from the **Dynamic content** list.
158-
- **has condition:** select **monitorCondition** from the **Dynamic content** list.
156+
1. In the **Subject** field, create the subject text by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list. For example:
157+
- **Alert:** Select **alertRule** from the **Dynamic content** list.
158+
- **with severity:** Select **severity** from the **Dynamic content** list.
159+
- **has condition:** Select **monitorCondition** from the **Dynamic content** list.
159160

160161
1. Enter the email address to send the alert to the **To** field.
161162
1. Select **Save**.
@@ -170,19 +171,20 @@ The next step is to create an action group to trigger your logic app.
170171

171172
1. In the search field, search for **Microsoft Teams**.
172173
1. Select **Microsoft Teams**.
174+
173175
:::image type="content" source="./media/alerts-logic-apps/choose-operation-teams.png" alt-text="Screenshot that shows the Add an action page of the Logic Apps Designer with Microsoft Teams selected.":::
174176
1. Select **Post message in a chat or channel** from the list of actions.
175177
1. Sign in to Teams when you're prompted to create a connection.
176178
1. Select **User** from the **Post as** dropdown.
177179
1. Select **Group chat** from the **Post in** dropdown.
178180
1. Select your group from the **Group chat** dropdown.
179-
1. Create the message text in the **Message** field by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list.
180-
For example, for:
181-
1. **Alert:** select **alertRule** from the **Dynamic content** list.
182-
1. **with severity:** select **severity** from the **Dynamic content** list.
183-
1. **was fired at:** select **firedDateTime** from the **Dynamic content** list.
181+
1. Create the message text in the **Message** field by entering static text and including content taken from the alert payload by choosing fields from the **Dynamic content** list. For example:
182+
1. **Alert:** Select **alertRule** from the **Dynamic content** list.
183+
1. **with severity:** Select **severity** from the **Dynamic content** list.
184+
1. **was fired at:** Select **firedDateTime** from the **Dynamic content** list.
184185
1. Add more fields according to your requirements.
185186
1. Select **Save**.
187+
186188
:::image type="content" source="./media/alerts-logic-apps/configure-teams-message.png" alt-text="Screenshot that shows the Parameters tab on the Post message in a chat or channel pane.":::
187189

188190
You've created a logic app that sends a Teams message to the specified group, with details from the alert that triggered it.
@@ -209,13 +211,15 @@ To trigger your logic app, create an action group. Then create an alert that use
209211
1. Select **OK**.
210212
1. Enter a name in the **Name** field.
211213
1. Select **Review + create** > **Create**.
212-
:::image type="content" source="./media/alerts-logic-apps/create-action-group-actions.png" alt-text="Screenshot that shows the Actions tab on the Create an action group page and the Logic App pane.":::
214+
215+
:::image type="content" source="./media/alerts-logic-apps/create-action-group-actions.png" alt-text="Screenshot that shows the Actions tab on the Create an action group page and the Logic App pane.":::
213216

214217
## Test your action group
215218

216219
1. Select your action group.
217220
1. In the **Logic App** section, select **Test action group (preview)**.
218-
:::image type="content" source="./media/alerts-logic-apps/test-action-group1.png" alt-text="Screenshot that shows an action group details page with the Test action group option.":::
221+
222+
:::image type="content" source="./media/alerts-logic-apps/test-action-group1.png" alt-text="Screenshot that shows an action group details page with the Test action group option.":::
219223
1. Select a sample alert type from the **Select sample type** dropdown.
220224
1. Select **Test**.
221225

@@ -232,7 +236,8 @@ To trigger your logic app, create an action group. Then create an alert that use
232236
1. Select your action group from the list.
233237
1. Choose **Select**.
234238
1. Finish the creation of your rule.
235-
:::image type="content" source="./media/alerts-logic-apps/select-action-groups.png" alt-text="Screenshot that shows the Actions tab on the Create an alert rule pane and the Select action groups pane.":::
239+
240+
:::image type="content" source="./media/alerts-logic-apps/select-action-groups.png" alt-text="Screenshot that shows the Actions tab on the Create an alert rule pane and the Select action groups pane.":::
236241

237242
## Next steps
238243

0 commit comments

Comments
 (0)