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
title: Quickstart - Set up Device Provisioning Service in portal
3
+
titleSuffix: Azure IoT Hub Device Provisioning Service
3
4
description: Quickstart - Set up the Azure IoT Hub Device Provisioning Service (DPS) in the Microsoft Azure portal
4
5
author: kgremban
5
6
ms.author: kgremban
6
7
manager: lizross
7
-
ms.date: 08/06/2021
8
+
ms.date: 04/06/2023
8
9
ms.topic: quickstart
9
10
ms.service: iot-dps
10
11
services: iot-dps
@@ -13,86 +14,89 @@ ms.custom: mvc, mode-ui
13
14
14
15
# Quickstart: Set up the IoT Hub Device Provisioning Service with the Azure portal
15
16
16
-
In this quickstart, you will learn how to set up the IoT Hub Device Provisioning Service in the Azure portal. The IoT Hub Device Provisioning Service enables zero-touch, just-in-time device provisioning to any IoT hub. The Device Provisioning Service enables customers to provision millions of IoT devices in a secure and scalable manner, without requiring human intervention. Azure IoT Hub Device Provisioning Service supports IoT devices with TPM, symmetric key, and X.509 certificate authentications. For more information, please refer to [IoT Hub Device Provisioning Service overview](about-iot-dps.md).
17
+
In this quickstart, you'll learn how to set up the IoT Hub Device Provisioning Service in the Azure portal. The IoT Hub Device Provisioning Service enables zero-touch, just-in-time device provisioning to any IoT hub. The Device Provisioning Service enables customers to provision millions of IoT devices in a secure and scalable manner, without requiring human intervention. Azure IoT Hub Device Provisioning Service supports IoT devices with TPM, symmetric key, and X.509 certificate authentications. For more information, please refer to [IoT Hub Device Provisioning Service overview](about-iot-dps.md).
17
18
18
19
To provision your devices, you will:
19
20
20
-
* Use the Azure portal to create an IoT Hub
21
-
* Use the Azure portal to create an IoT Hub Device Provisioning Service
22
-
* Link the IoT hub to the Device Provisioning Service
21
+
> [!div class="checklist"]
22
+
> * Use the Azure portal to create an IoT hub
23
+
> * Use the Azure portal to create an IoT Hub Device Provisioning Service instance
24
+
> * Link the IoT hub to the Device Provisioning Service instance
23
25
24
26
## Prerequisites
25
27
26
-
You'll need an Azure subscription to begin with this article. You can create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F), if you haven't already.
28
+
If you don't have an Azure subscription, create a [free Azure account](https://azure.microsoft.com/free/) before you begin.
## Create a new IoT Hub Device Provisioning Service
34
+
## Create a new IoT Hub Device Provisioning Service instance
33
35
34
-
1. In the Azure portal, select **+ Create a resource** .
36
+
1. In the Azure portal, select the **+ Create a resource**button.
35
37
36
-
2. From the **Categories** menu, select **Internet of Things**then **IoT Hub Device Provisioning Service**.
38
+
1. From the **Categories** menu, select **Internet of Things**, and then select**IoT Hub Device Provisioning Service**.
37
39
38
-
3. Select **Create**.
40
+
1. On the **Basics** tab, provide the following information:
41
+
42
+
| Property | Value |
43
+
| --- | --- |
44
+
|**Subscription**| Select the subscription to use for your Device Provisioning Service instance. |
45
+
|**Resource group**| This field allows you to create a new resource group, or choose an existing one to contain the new instance. Choose the same resource group that contains the Iot hub you created in the previous steps. By putting all related resources in a group together, you can manage them together. For example, deleting the resource group deletes all resources contained in that group. For more information, see [Manage Azure Resource Manager resource groups](../azure-resource-manager/management/manage-resource-groups-portal.md). |
46
+
|**Name**| Provide a unique name for your new Device Provisioning Service instance. If the name you enter is available, a green check mark appears. |
47
+
|**Region**| Select a location that's close to your devices. For resiliency and reliability, we recommend deploying to one of the regions that support [Availability Zones](iot-dps-ha-dr.md). |
39
48
40
-
4. Enter the following information:
49
+
:::image type="content" source="./media/quick-setup-auto-provision/create-iot-dps-portal.png" alt-text="Screenshot showing the Basics tab of the IoT Hub device provisioning serviceEnter basic information about your Device Provisioning Service instance in the portal blade":::
41
50
42
-
***Name:** Provide a unique name for your new Device Provisioning Service instance. If the name you enter is available, a green check mark appears.
43
-
***Subscription:** Choose the subscription that you want to use to create this Device Provisioning Service instance.
44
-
***Resource group:** This field allows you to create a new resource group, or choose an existing one to contain the new instance. Choose the same resource group that contains the Iot hub you created in the previous steps. By putting all related resources in a group together, you can manage them together. For example, deleting the resource group deletes all resources contained in that group. For more information, see [Manage Azure Resource Manager resource groups](../azure-resource-manager/management/manage-resource-groups-portal.md).
45
-
***Location:** Select a location that's close to your devices. For resiliency and reliability, we recommend deploying to one of the regions that support [Availability Zones](iot-dps-ha-dr.md).
51
+
1. Select **Review + create** to validate your provisioning service.
46
52
47
-
:::image type="content" source="./media/quick-setup-auto-provision/create-iot-dps-portal.png" alt-text="Enter basic information about your Device Provisioning Service instance in the portal blade":::
53
+
1. Select **Create** to start the deployment of your Device Provisioning Service instance.
48
54
49
-
5. Select **Review + Create** to validate your provisioning service.
55
+
1. After the deployment successfully completes, select **Go to resource** to view your Device Provisioning Service instance.
50
56
51
-
6. Select **Create**.
52
-
53
-
7. After the deployment successfully completes, select **Go to resource** to view your Device Provisioning Service instance.
54
-
55
-
## Link the IoT hub and your Device Provisioning Service
57
+
## Link the IoT hub and your Device Provisioning Service instance
56
58
57
59
In this section, you'll add a configuration to the Device Provisioning Service instance. This configuration sets the IoT hub for which devices will be provisioned.
58
60
59
-
1. In the *Settings* menu, select **Linked IoT hubs**.
61
+
1. In the **Settings** menu, select **Linked IoT hubs**.
60
62
61
-
2. Select **+ Add**.
63
+
1. Select **+ Add**.
62
64
63
-
3. On the **Add link to IoT hub** panel, provide the following information:
65
+
1. On the **Add link to IoT hub** panel, provide the following information:
64
66
65
-
***Subscription:** Select the subscription containing the IoT hub that you want to link with your new Device Provisioning Service instance.
66
-
***Iot hub:** Select the IoT hub to link with your new Device Provisioning Service instance.
67
-
***Access Policy:** Select **iothubowner** as the credentials for establishing the link with the IoT hub.
67
+
| Property | Value |
68
+
| --- | --- |
69
+
|**Subscription**| Select the subscription containing the IoT hub that you want to link with your new Device Provisioning Service instance. |
70
+
|**IoT hub**| Select the IoT hub to link with your new Device Provisioning System instance. |
71
+
|**Access Policy**| Select **iothubowner (RegistryWrite, ServiceConnect, DeviceConnect)** as the credentials for establishing the link with the IoT hub. |
68
72
69
-
:::image type="content" source="./media/quick-setup-auto-provision/link-iot-hub-to-dps-portal.png" alt-text="Link the hub name to link to the Device Provisioning Service instance in the portal blade":::
73
+
:::image type="content" source="./media/quick-setup-auto-provision/link-iot-hub-to-dps-portal.png" alt-text="Screenshot showing how to link an IoT hub to the Device Provisioning Service instance in the portal blade.":::
70
74
71
-
4. Select **Save**.
75
+
1. Select **Save**.
72
76
73
-
5. Select **Refresh**. Now you should see the selected hub under the **Linked IoT hubs** blade.
77
+
1. Select **Refresh**. You should now see the selected hub under the **Linked IoT hubs** blade.
74
78
75
79
## Clean up resources
76
80
77
-
The rest of the Device Provisioning Service quickstarts and tutorials use the resources that you created in this quickstart. However, if you don't plan on doing any more quickstarts or tutorials, you'll want to delete those resources.
81
+
The rest of the Device Provisioning Service quickstarts and tutorials use the resources that you created in this quickstart. However, if you don't plan on doing any more quickstarts or tutorials, delete these resources.
78
82
79
83
To clean up resources in the Azure portal:
80
84
81
85
1. From the left-hand menu in the Azure portal, select **All resources**.
82
86
83
-
2. Select your Device Provisioning Service.
87
+
1. Select your Device Provisioning Service instance.
84
88
85
-
3. At the top of the device detail pane, select **Delete**.
89
+
1. At the top of the device detail pane, select **Delete**.
86
90
87
-
4. From the left-hand menu in the Azure portal, select **All resources**.
91
+
1. From the left-hand menu in the Azure portal, select **All resources**.
88
92
89
-
5. Select your IoT hub.
93
+
1. Select your IoT hub.
90
94
91
-
6. At the top of the hub detail pane, select **Delete**.
95
+
1. At the top of the hub detail pane, select **Delete**.
92
96
93
97
## Next steps
94
98
95
-
In this quickstart, you deployed an IoT hub and a Device Provisioning Service instance, and linked the two resources. To learn how to use this setup to provision a device, continue to the quickstart for creating a device.
99
+
In this quickstart, you deployed an IoT hub and a Device Provisioning Service instance, and then linked the two resources. To learn how to use this setup to provision a device, continue to the quickstart for creating a device.
96
100
97
101
> [!div class="nextstepaction"]
98
102
> [Quickstart: Provision a simulated symmetric key device](./quick-create-simulated-device-symm-key.md)
0 commit comments