Skip to content

Commit ce0a01b

Browse files
committed
rolled date, removed extraneous spaces and linefeeds, removed unused pngs
1 parent adf1102 commit ce0a01b

File tree

4 files changed

+27
-29
lines changed

4 files changed

+27
-29
lines changed

articles/iot-dps/how-to-revoke-device-access-portal.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ title: Disenroll device from Azure IoT Hub Device Provisioning Service
33
description: How to disenroll a device to prevent provisioning through Azure IoT Hub Device Provisioning Service (DPS)
44
author: wesmc7777
55
ms.author: wesmc
6-
ms.date: 01/20/2022
6+
ms.date: 01/24/2022
77
ms.topic: conceptual
88
ms.service: iot-dps
99
services: iot-dps
10-
manager: timlt
1110
---
1211

1312
# How to disenroll a device from Azure IoT Hub Device Provisioning Service
1413

15-
Proper management of device credentials is crucial for high-profile systems like IoT solutions. A best practice for such systems is to have a clear plan of how to revoke access for devices when their credentials, whether a shared access signatures (SAS) token or an X.509 certificate, might be compromised.
14+
Proper management of device credentials is crucial for high-profile systems like IoT solutions. A best practice for such systems is to have a clear plan of how to revoke access for devices when their credentials, whether a shared access signatures (SAS) token or an X.509 certificate, might be compromised.
1615

1716
Enrollment in the Device Provisioning Service enables a device to be [provisioned](about-iot-dps.md#provisioning-process). A provisioned device is one that has been registered with IoT Hub, allowing it to receive its initial [device twin](~/articles/iot-hub/iot-hub-devguide-device-twins.md) state and begin reporting telemetry data. This article describes how to disenroll a device from your provisioning service instance, preventing it from being provisioned again in the future. To learn how to deprovision a device that has already been provisioned to an IoT hub, see [Manage deprovisioning](how-to-unprovision-devices.md).
1817

@@ -21,14 +20,14 @@ Enrollment in the Device Provisioning Service enables a device to be [provisione
2120
2221
## Disallow devices by using an individual enrollment entry
2322

24-
Individual enrollments apply to a single device and can use X.509 certificates, TPM endorsement keys (in a real or virtual TPM), or SAS tokens as the attestation mechanism. To disallow a device that has an individual enrollment, you can either disable or delete its enrollment entry.
23+
Individual enrollments apply to a single device and can use X.509 certificates, TPM endorsement keys (in a real or virtual TPM), or SAS tokens as the attestation mechanism. To disallow a device that has an individual enrollment, you can either disable or delete its enrollment entry.
2524

26-
To temporarily disallow the device by disabling its enrollment entry:
25+
To temporarily disallow the device by disabling its enrollment entry:
2726

2827
1. Sign in to the Azure portal and select **All resources** from the left menu.
2928
2. In the list of resources, select the provisioning service that you want to disallow your device from.
3029
3. In your provisioning service, select **Manage enrollments**, and then select the **Individual Enrollments** tab.
31-
4. Select the enrollment entry for the device that you want to disallow.
30+
4. Select the enrollment entry for the device that you want to disallow.
3231

3332
![Select your individual enrollment](./media/how-to-revoke-device-access-portal/select-individual-enrollment.png)
3433

@@ -41,21 +40,20 @@ To permanently disallow the device by deleting its enrollment entry:
4140
1. Sign in to the Azure portal and select **All resources** from the left menu.
4241
2. In the list of resources, select the provisioning service that you want to disallow your device from.
4342
3. In your provisioning service, select **Manage enrollments**, and then select the **Individual Enrollments** tab.
44-
4. Select the check box next to the enrollment entry for the device that you want to disallow.
45-
5. Select **Delete** at the top of the window, and then select **Yes** to confirm that you want to remove the enrollment.
43+
4. Select the check box next to the enrollment entry for the device that you want to disallow.
44+
5. Select **Delete** at the top of the window, and then select **Yes** to confirm that you want to remove the enrollment.
4645

4746
![Delete individual enrollment entry in the portal](./media/how-to-revoke-device-access-portal/delete-individual-enrollment.png)
4847

49-
5048
After you finish the procedure, you should see your entry removed from the list of individual enrollments.
5149

5250
## Disallow an X.509 intermediate or root CA certificate by using an enrollment group
5351

54-
X.509 certificates are typically arranged in a certificate chain of trust. If a certificate at any stage in a chain becomes compromised, trust is broken. The certificate must be disallowed to prevent Device Provisioning Service from provisioning devices downstream in any chain that contains that certificate. To learn more about X.509 certificates and how they are used with the provisioning service, see [X.509 certificates](./concepts-x509-attestation.md#x509-certificates).
52+
X.509 certificates are typically arranged in a certificate chain of trust. If a certificate at any stage in a chain becomes compromised, trust is broken. The certificate must be disallowed to prevent Device Provisioning Service from provisioning devices downstream in any chain that contains that certificate. To learn more about X.509 certificates and how they are used with the provisioning service, see [X.509 certificates](./concepts-x509-attestation.md#x509-certificates).
5553

5654
An enrollment group is an entry for devices that share a common attestation mechanism of X.509 certificates signed by the same intermediate or root CA. The enrollment group entry is configured with the X.509 certificate associated with the intermediate or root CA. The entry is also configured with any configuration values, such as twin state and IoT hub connection, that are shared by devices with that certificate in their certificate chain. To disallow the certificate, you can either disable or delete its enrollment group.
5755

58-
To temporarily disallow the certificate by disabling its enrollment group:
56+
To temporarily disallow the certificate by disabling its enrollment group:
5957

6058
1. Sign in to the Azure portal and select **All resources** from the left menu.
6159
2. In the list of resources, select the provisioning service that you want to disallow the signing certificate from.
@@ -65,14 +63,13 @@ To temporarily disallow the certificate by disabling its enrollment group:
6563

6664
![Disable enrollment group entry in the portal](./media/how-to-revoke-device-access-portal/disable-enrollment-group.png)
6765

68-
6966
To permanently disallow the certificate by deleting its enrollment group:
7067

7168
1. Sign in to the Azure portal and select **All resources** from the left menu.
7269
2. In the list of resources, select the provisioning service that you want to disallow your device from.
7370
3. In your provisioning service, select **Manage enrollments**, and then select the **Enrollment Groups** tab.
74-
4. Select the check box next to the enrollment group for the certificate that you want to disallow.
75-
5. Select **Delete** at the top of the window, and then select **Yes** to confirm that you want to remove the enrollment group.
71+
4. Select the check box next to the enrollment group for the certificate that you want to disallow.
72+
5. Select **Delete** at the top of the window, and then select **Yes** to confirm that you want to remove the enrollment group.
7673

7774
![Delete enrollment group entry in the portal](./media/how-to-revoke-device-access-portal/delete-enrollment-group.png)
7875

@@ -90,7 +87,7 @@ To disallow an individual device in an enrollment group, follow these steps:
9087
1. Sign in to the Azure portal and select **All resources** from the left menu.
9188
2. From the list of resources, select the provisioning service that contains the enrollment group for the device that you want to disallow.
9289
3. In your provisioning service, select **Manage enrollments**, and then select the **Individual Enrollments** tab.
93-
4. Select the **Add individual enrollment** button at the top.
90+
4. Select the **Add individual enrollment** button at the top.
9491
5. Follow the appropriate step depending on whether you have the device (end-entity) certificate.
9592

9693
- If you have the device certificate, on the **Add Enrollment** page select:

articles/iot-dps/how-to-unprovision-devices.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ title: Deprovision devices that were provisioned with Azure IoT Hub Device Provi
33
description: How to deprovision devices that have been provisioned with Azure IoT Hub Device Provisioning Service (DPS)
44
author: wesmc7777
55
ms.author: wesmc
6-
ms.date: 01/20/2022
6+
ms.date: 01/24/2022
77
ms.topic: conceptual
88
ms.service: iot-dps
99
services: iot-dps
1010
---
1111

12-
# How to deprovision devices that were previously auto-provisioned
12+
# How to deprovision devices that were previously auto-provisioned
1313

14-
You may find it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service. For example, a device may be sold or moved to a different IoT hub, or it may be lost, stolen, or otherwise compromised.
14+
You may find it necessary to deprovision devices that were previously auto-provisioned through the Device Provisioning Service. For example, a device may be sold or moved to a different IoT hub, or it may be lost, stolen, or otherwise compromised.
1515

1616
In general, deprovisioning a device involves two steps:
1717

1818
1. Disenroll the device from your provisioning service, to prevent future auto-provisioning. Depending on whether you want to revoke access temporarily or permanently, you may want to either disable or delete an enrollment entry. For devices that use X.509 attestation, you may want to disable/delete an entry in the hierarchy of your existing enrollment groups.
19-
19+
2020
- To learn how to disenroll a device, see [How to disenroll a device from Azure IoT Hub Device Provisioning Service](how-to-revoke-device-access-portal.md).
2121
- To learn how to disenroll a device programmatically using one of the provisioning service SDKs, see [Manage device enrollments with service SDKs](./quick-enroll-device-x509.md).
2222

@@ -25,22 +25,23 @@ In general, deprovisioning a device involves two steps:
2525
The exact steps you take to deprovision a device depend on its attestation mechanism and its applicable enrollment entry with your provisioning service. The following sections provide an overview of the process, based on the enrollment and attestation type.
2626

2727
## Individual enrollments
28-
Devices that use TPM attestation or X.509 attestation with a leaf certificate are provisioned through an individual enrollment entry.
2928

30-
To deprovision a device that has an individual enrollment:
29+
Devices that use TPM attestation or X.509 attestation with a leaf certificate are provisioned through an individual enrollment entry.
30+
31+
To deprovision a device that has an individual enrollment:
3132

3233
1. Disenroll the device from your provisioning service:
3334

34-
- For devices that use TPM attestation, delete the individual enrollment entry to permanently revoke the device's access to the provisioning service, or disable the entry to temporarily revoke its access.
35+
- For devices that use TPM attestation, delete the individual enrollment entry to permanently revoke the device's access to the provisioning service, or disable the entry to temporarily revoke its access.
3536
- For devices that use X.509 attestation, you can either delete or disable the entry. Be aware, though, if you delete an individual enrollment for a device that uses X.509 and an enabled enrollment group exists for a signing certificate in that device's certificate chain, the device can re-enroll. For such devices, it may be safer to disable the enrollment entry. Doing so prevents the device from re-enrolling, regardless of whether an enabled enrollment group exists for one of its signing certificates.
3637

37-
2. Disable or delete the device in the identity registry of the IoT hub that it was provisioned to.
38-
38+
2. Disable or delete the device in the identity registry of the IoT hub that it was provisioned to.
3939

4040
## Enrollment groups
41-
With X.509 attestation, devices can also be provisioned through an enrollment group. Enrollment groups are configured with a signing certificate, either an intermediate or root CA certificate, and control access to the provisioning service for devices with that certificate in their certificate chain. To learn more about enrollment groups and X.509 certificates with the provisioning service, see [X.509 certificate attestation](concepts-x509-attestation.md).
4241

43-
To see a list of devices that have been provisioned through an enrollment group, you can view the enrollment group's details. This is an easy way to understand which IoT hub each device has been provisioned to. To view the device list:
42+
With X.509 attestation, devices can also be provisioned through an enrollment group. Enrollment groups are configured with a signing certificate, either an intermediate or root CA certificate, and control access to the provisioning service for devices with that certificate in their certificate chain. To learn more about enrollment groups and X.509 certificates with the provisioning service, see [X.509 certificate attestation](concepts-x509-attestation.md).
43+
44+
To see a list of devices that have been provisioned through an enrollment group, you can view the enrollment group's details. This is an easy way to understand which IoT hub each device has been provisioned to. To view the device list:
4445

4546
1. Log in to the Azure portal and click **All resources** on the left-hand menu.
4647
2. Click your provisioning service in the list of resources.
@@ -52,9 +53,9 @@ To see a list of devices that have been provisioned through an enrollment group,
5253
With enrollment groups, there are two scenarios to consider:
5354

5455
- To deprovision all of the devices that have been provisioned through an enrollment group:
55-
1. Disable the enrollment group to disallow its signing certificate.
56-
2. Use the list of provisioned devices for that enrollment group to disable or delete each device from the identity registry of its respective IoT hub.
57-
3. After disabling or deleting all devices from their respective IoT hubs, you can optionally delete the enrollment group. Be aware, though, that, if you delete the enrollment group and there is an enabled enrollment group for a signing certificate higher up in the certificate chain of one or more of the devices, those devices can re-enroll.
56+
1. Disable the enrollment group to disallow its signing certificate.
57+
2. Use the list of provisioned devices for that enrollment group to disable or delete each device from the identity registry of its respective IoT hub.
58+
3. After disabling or deleting all devices from their respective IoT hubs, you can optionally delete the enrollment group. Be aware, though, that, if you delete the enrollment group and there is an enabled enrollment group for a signing certificate higher up in the certificate chain of one or more of the devices, those devices can re-enroll.
5859

5960
- To deprovision a single device from an enrollment group:
6061
1. Create a disabled individual enrollment for the device.

0 commit comments

Comments
 (0)