Skip to content

Commit c81e3f1

Browse files
committed
Draft, in progress
1 parent 4c272f8 commit c81e3f1

File tree

2 files changed

+42
-38
lines changed

2 files changed

+42
-38
lines changed
12.3 KB
Loading
Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: Quickstart - Set up Device Provisioning Service in portal
3+
titleSuffix: Azure IoT Hub Device Provisioning Service
34
description: Quickstart - Set up the Azure IoT Hub Device Provisioning Service (DPS) in the Microsoft Azure portal
45
author: kgremban
56
ms.author: kgremban
67
manager: lizross
7-
ms.date: 08/06/2021
8+
ms.date: 04/06/2023
89
ms.topic: quickstart
910
ms.service: iot-dps
1011
services: iot-dps
@@ -13,86 +14,89 @@ ms.custom: mvc, mode-ui
1314

1415
# Quickstart: Set up the IoT Hub Device Provisioning Service with the Azure portal
1516

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).
1718

1819
To provision your devices, you will:
1920

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
2325
2426
## Prerequisites
2527

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.
2729

2830
## Create an IoT hub
2931

3032
[!INCLUDE [iot-hub-include-create-hub](../../includes/iot-hub-include-create-hub.md)]
3133

32-
## Create a new IoT Hub Device Provisioning Service
34+
## Create a new IoT Hub Device Provisioning Service instance
3335

34-
1. In the Azure portal, select **+ Create a resource** .
36+
1. In the Azure portal, select the **+ Create a resource** button.
3537

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**.
3739

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). |
3948

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":::
4150

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.
4652

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.
4854

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.
5056

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
5658

5759
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.
5860

59-
1. In the *Settings* menu, select **Linked IoT hubs**.
61+
1. In the **Settings** menu, select **Linked IoT hubs**.
6062

61-
2. Select **+ Add**.
63+
1. Select **+ Add**.
6264

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:
6466

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. |
6872

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.":::
7074

71-
4. Select **Save**.
75+
1. Select **Save**.
7276

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.
7478

7579
## Clean up resources
7680

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.
7882

7983
To clean up resources in the Azure portal:
8084

8185
1. From the left-hand menu in the Azure portal, select **All resources**.
8286

83-
2. Select your Device Provisioning Service.
87+
1. Select your Device Provisioning Service instance.
8488

85-
3. At the top of the device detail pane, select **Delete**.
89+
1. At the top of the device detail pane, select **Delete**.
8690

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**.
8892

89-
5. Select your IoT hub.
93+
1. Select your IoT hub.
9094

91-
6. At the top of the hub detail pane, select **Delete**.
95+
1. At the top of the hub detail pane, select **Delete**.
9296

9397
## Next steps
9498

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.
96100

97101
> [!div class="nextstepaction"]
98102
> [Quickstart: Provision a simulated symmetric key device](./quick-create-simulated-device-symm-key.md)

0 commit comments

Comments
 (0)