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/device-builders/how-to-provision-micro-agent.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ ms.topic: how-to
9
9
10
10
This article explains how to provision the standalone Microsoft Defender for IoT micro agent using [Azure IoT Hub Device Provisioning Service](../../iot-dps/about-iot-dps.md) with [X.509 certificate attestation](../../iot-dps/concepts-x509-attestation.md).
11
11
12
-
To learn how to configure the Microsoft Defender for IoT micro agent for Edge devices see [Create and provision IoT Edge devices at scale]../../iot-edge/how-to-provision-devices-at-scale-linux-tpm.md).
12
+
To learn how to configure the Microsoft Defender for IoT micro agent for Edge devices see [Create and provision IoT Edge devices at scale](/azure/iot-edge/how-to-provision-devices-at-scale-linux-tpm)
13
13
14
14
## Prerequisites
15
15
16
-
- An Azure account with an active subscription. [Create an account for free]https://azure.microsoft).
16
+
- An Azure account with an active subscription. For more information, see [Create an Azure account](https://azure.microsoft.com/free).
17
17
18
18
- An [IoT hub](../../iot-hub/iot-hub-create-through-portal.md).
19
19
@@ -23,19 +23,28 @@ To learn how to configure the Microsoft Defender for IoT micro agent for Edge de
23
23
24
24
1. In the [Azure portal](https://portal.azure.com), go to your instance of the IoT Hub device provisioning service.
25
25
26
-
1. Under Settings, select Manage enrollments.
27
-
1. Select Add individual enrollment, and then complete the steps to configure the enrollment:
28
-
1. Choose X.509 at the identity attestation Mechanism and choose your CA.
26
+
1. Under **Settings**, select **Manage enrollments**.
27
+
28
+
1. Select **Add individual enrollment**, and then complete the steps to configure the enrollment:
29
+
30
+
- In the **Mechanism** field, select **X.509** at the identity attestation Mechanism and choose your CA.
31
+
29
32
1. Navigate into your destination IoT Hub.
30
-
1. Create a new module issued by the same certificate.
31
-
1. Configure the micro agent to use the created module (Note that the device does not have to exist yet).
32
-
1. Navigate back to DPS and provision the device through DPS.
33
+
34
+
1.[Create a new module](tutorial-create-micro-agent-module-twin.md) issued by the same certificate.
35
+
36
+
1.[Configure the micro agent to use the created module](tutorial-standalone-agent-binary-installation.md#authenticate-using-a-module-identity-connection-string) (note that the device does not have to exist yet).
37
+
38
+
1. Navigate back to DPS and [provision the device through DPS](/azure/iot-dps/quick-create-simulated-device-x509).
39
+
33
40
1. Navigate to the configured device in the destination IoT Hub.
41
+
34
42
1. Create a new module for the device issued by the same CA authenticator.
35
-
1. Run the agent that you configured in step 4 to see it connects to the device.
43
+
44
+
1. Run the agent that you configured in step 4 to confirm it connects to the device.
36
45
37
46
> [!NOTE]
38
-
> Using this procedure, while you don't need the device to exists before configuring the agent, you do need to know the device name in advance in order to issue the certificate for the final module correctly.
47
+
> When using this procedure, while you don't need the device to exist before configuring the agent, you do need to know the device name in advance in order to issue the certificate for the final module correctly.
0 commit comments