Reader small image

You're reading from  The Azure IoT Handbook

Product typeBook
Published inDec 2023
PublisherPackt
ISBN-139781837633616
Edition1st Edition
Right arrow
Author (1)
Dan Clark
Dan Clark
author image
Dan Clark

Dan Clark is a senior developer and data engineer specializing in Microsoft technologies. He is focused on learning new AI and data technologies and training others on how to best implement those technologies. He has worked as an Azure Technical Trainer (ATT)for Microsoft and has over 25 years of experience as a Microsoft Certified Trainer. Dan has published several books and numerous articles on Microsoft technologies. He is a regular speaker at various developer and database conferences and user group meetings and enjoys interacting with the Microsoft communities.
Read more about Dan Clark

Right arrow

Deprovisioning and disenrolling devices

When a device has reached the end of its lifetime, we need to deprovision it. Deprovisioning is a two-step process:

  1. First, it needs to be disenrolled from DPS; then, you need to deregister the device in IoT Hub.
  2. Next, the device needs to be deleted or disabled:
    • For individual enrollments, delete or disable the device on the device provisioning service. If the device uses an X.509 certificate and an enrollment group exists for a signing certificate in that device’s certificate chain, the device can be re-enrolled. Next, delete or disable the device in the identity in IoT Hub.
    • If the device was provisioned through an enrollment group, disable the device in DPS. Disabling the device revokes access but allows other devices in the group access. Do not delete the device. Deleting the device from a group will allow the device to re-enroll with the group. Once the device has been disabled, you can use the list of provisioned devices...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The Azure IoT Handbook
Published in: Dec 2023Publisher: PacktISBN-13: 9781837633616

Author (1)

author image
Dan Clark

Dan Clark is a senior developer and data engineer specializing in Microsoft technologies. He is focused on learning new AI and data technologies and training others on how to best implement those technologies. He has worked as an Azure Technical Trainer (ATT)for Microsoft and has over 25 years of experience as a Microsoft Certified Trainer. Dan has published several books and numerous articles on Microsoft technologies. He is a regular speaker at various developer and database conferences and user group meetings and enjoys interacting with the Microsoft communities.
Read more about Dan Clark