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
1. Paste the common alert schema into the **Request Body JSON Schema** field from the following JSON:
39
39
```json
@@ -104,15 +104,15 @@ In this example, we'll use the following steps to create a Logic App that uses t
104
104
```
105
105
106
106
1. Select the **+** icon to insert a new step.
107
-
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="A screenshot showing the parameters for the when http request received step":::
107
+
:::image type="content" source="./media/alerts-logic-apps/configure-http-request-received.png" alt-text="A screenshot showing the parameters for the when http request received step.":::
108
108
109
109
1. Send an email or post a Teams message.
110
110
111
111
## [Send an email](#tab/send-email)
112
112
113
113
1. In the search field, search for *outlook*.
114
114
1. Select **Office 365 Outlook**.
115
-
:::image type="content" source="./media/alerts-logic-apps/choose-operation-outlook.png" alt-text="A screenshot showing add action page of the logic apps designer with Office 365 Outlook selected":::
115
+
:::image type="content" source="./media/alerts-logic-apps/choose-operation-outlook.png" alt-text="A screenshot showing add action page of the logic apps designer with Office 365 Outlook selected.":::
116
116
1. Select **Send an email (V2)** from the list of actions.
117
117
1. Sign into Office 365 when prompted to create a connection.
118
118
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.
@@ -141,7 +141,7 @@ The next step is to create an action group to trigger your Logic App.
141
141
1. In the search field, search for *Microsoft Teams*.
142
142
143
143
1. Select **Microsoft Teams**
144
-
:::image type="content" source="./media/alerts-logic-apps/choose-operation-teams.png" alt-text="A screenshot showing add action page of the logic apps designer with Microsoft Teams selected":::
144
+
:::image type="content" source="./media/alerts-logic-apps/choose-operation-teams.png" alt-text="A screenshot showing add action page of the logic apps designer with Microsoft Teams selected.":::
145
145
1. Select **Post a message in a chat or channel** from the list of actions.
146
146
1. Sign into Teams when prompted to create a connection.
147
147
1. Select *User* from the **Post as** dropdown.
@@ -172,26 +172,28 @@ To trigger your Logic app, create an action group, then create an alert that use
172
172
1. Select a **Subscription**, **Resource group** and **Region**.
173
173
1. Enter an **Actions group name** and **Display name**.
174
174
1. Select the **Actions** tab.
175
-
:::image type="content" source="./media/alerts-logic-apps/create-action-group.png" alt-text="A screenshot showing the actions tab of a create action group page":::
175
+
:::image type="content" source="./media/alerts-logic-apps/create-action-group.png" alt-text="A screenshot showing the actions tab of a create action group page.":::
176
176
1. In the **Actions** tab under **Action type**, select **Logic App**.
177
177
1. In the **Logic App** section, select your logic app from the dropdown.
178
178
1. Set **Enable common alert schema** to *Yes*. If you select *No*, the alert type will determine which alert schema is used. For more information about alert schemas, see [Context specific alert schemas](./alerts-non-common-schema-definitions.md).
179
179
1. Select **OK**.
180
180
1. Enter a name in the **Name** field.
181
181
1. Select **Review + create**, the **Create**.
182
-
:::image type="content" source="./media/alerts-logic-apps/create-action-group-actions.png" alt-text="A screenshot showing the Logic Apps blade of a create action group, actions tab":::
182
+
:::image type="content" source="./media/alerts-logic-apps/create-action-group-actions.png" alt-text="A screenshot showing the Logic Apps blade of a create action group, actions tab.":::
183
183
184
184
## Test your action group
185
185
186
186
1. Select your action group.
187
187
1. In the **Logic App** section, select **Test action group(preview)**.
188
-
:::image type="content" source="./media/alerts-logic-apps/test-action-group1.png" alt-text="A screenshot showing an action group details page with test action group highlighted":::
188
+
:::image type="content" source="./media/alerts-logic-apps/test-action-group1.png" alt-text="A screenshot showing an action group details page with test action group highlighted.":::
189
189
1. Select a **Sample alert type** from the dropdown.
190
-
1. Select **Test**.
191
-
:::image type="content" source="./media/alerts-logic-apps/test-action-group2.png" alt-text="A screenshot showing an action group details test page":::
190
+
1. Select **Test**.
191
+
192
+
:::image type="content" source="./media/alerts-logic-apps/test-action-group2.png" alt-text="A screenshot showing an action group details test page.":::
193
+
194
+
The following email will be sent to the specified account:
192
195
193
-
The following email will be sent to the specified account:
194
-
:::image type="content" source="./media/alerts-logic-apps/sample-output-email.png" alt-text="A screenshot showing an sample email sent by the test page":::
196
+
:::image type="content" source="./media/alerts-logic-apps/sample-output-email.png" alt-text="A screenshot showing an sample email sent by the test page.":::
195
197
196
198
197
199
## Create a rule using your action group
@@ -204,7 +206,7 @@ To trigger your Logic app, create an action group, then create an alert that use
204
206
1. Finish the creation of your rule.
205
207
:::image type="content" source="./media/alerts-logic-apps/select-action-groups.png" alt-text="A screenshot showing the actions tab of the create rules page and the select action groups blade.":::
206
208
207
-
## Next Steps
209
+
## Next steps
208
210
209
211
* [Learn more about action groups](./action-groups.md).
210
212
* [Learn more about the common alert schema](./alerts-common-schema.md).
0 commit comments