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
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/automate-sensor-disconnection-alerts.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,26 +6,28 @@ ms.date: 01/06/2025
6
6
ms.subservice: sentinel-integration
7
7
---
8
8
9
-
# Tutorial: Set up automatic sensor disconnection notifications with Microsoft Defender for IoT
9
+
# Tutorial: Set up automatic sensor disconnection notifications with Microsoft Defender for IoT and Microsoft Sentinel
10
10
11
-
This tutorial shows you how to create a [playbook](../../sentinel/tutorial-respond-threats-playbook.md) in Microsoft Sentinel that automatically sends an email notification when a sensor disconnects.
11
+
This tutorial shows you how to create a [playbook](../../sentinel/tutorial-respond-threats-playbook.md) in Microsoft Sentinel that automatically sends an email notification when a sensor disconnects from the cloud.
12
12
13
13
In this tutorial, you:
14
14
15
15
> [!div class="checklist"]
16
16
>
17
17
> * Create a playbook to send automatic sensor disconnection notifications
18
-
> * Paste the playbook code ino the editor and modify fields
18
+
> * Paste the playbook code into the editor and modify fields
19
19
> * Set up managed identity for your subscription
20
-
> *Verify the sensor status
20
+
> *Run a query to confirm that the sensor is offline
21
21
22
22
## Prerequisites
23
23
24
24
Before you start, make sure you have:
25
25
26
26
- Completed [Tutorial: Connect Microsoft Defender for IoT with Microsoft Sentinel](iot-solution.md).
27
27
28
-
- The subscription ID and the resource group for the relevant subscription. In the Azure portal **Subscriptions** page, copy the subscription ID and save it for a later stage.
28
+
- The subscription ID for the relevant subscription. In the Azure portal **Subscriptions** page, copy the subscription ID and save it for a later stage.
29
+
30
+
- The resource group for the relevant subscription. Learn more about [resource groups](../../azure-resource-manager/management/manage-resource-groups-portal.md).
29
31
30
32
## Create the playbook
31
33
@@ -69,7 +71,7 @@ Before you start, make sure you have:
69
71
70
72
:::image type="content" source="media/automate-sensor-disconnection-alerts/playbook-logic.png" alt-text="Screenshot of a of the playbook logic for Defender for IoT sensor disconnection alerts." lightbox="media/automate-sensor-disconnection-alerts/playbook-logic.png":::
71
73
72
-
## Set up managed identity for your subscription
74
+
## Set up a managed identity for your subscription
73
75
74
76
To give the playbook permission to run Keyword Query Language (KQL) queries and get relevant sensor data:
75
77
@@ -80,9 +82,9 @@ To give the playbook permission to run Keyword Query Language (KQL) queries and
80
82
1. In the **Role** tab, select **Next**.
81
83
1. In the **Members** tab, under **Assign access to**, select **Managed Identity**.
82
84
1. In the **Select Managed identities** window:
83
-
1. Under **Subscription**, select the subscription running Microsoft Sentinel.
84
-
1. Under **Managed identity**, select your playbook's name.
85
-
1. Under **Select**, select the name of the automation rule you created and select **Select**.
85
+
- Under **Subscription**, select the subscription running Microsoft Sentinel.
86
+
- The **Managed identity** field is automatically selected.
87
+
- Under **Select**, select the name of the playbook you created.
86
88
87
89
:::image type="content" source="media/automate-sensor-disconnection-alerts/playbook-permissions-managed-identity-members.png" alt-text="Screenshot of a of setting up members for a managed identity while creating a Defender for IoT sensor disconnection alerts playbook." lightbox="media/automate-sensor-disconnection-alerts/playbook-permissions-managed-identity-members.png":::
0 commit comments