Disenrolling devices

Remove a device securely from DeviceHub to disconnect it from the organization and delete all device-related information in the IoT hub.

When a device is no longer in use or is temporarily stored, for example during a room renovation, you should remove it from your DeviceHub account to keep your device list clean and up to date. Each device can only be enrolled in one organization at a time. If you want to use a device in a new organization, you must first disenroll it from the previous organization.

To disenroll your device:
  1. In DeviceHub, navigate to the Devices page.
  2. On the device you want to disenroll, click the three dots and then click Disenroll device.
  3. Confirm the disenrollment.
    Remember to disable the cloud connectivity on the device's LUI to complete the disenrollment.
    The disenrollment starts in the background and the device shows the status disenrolling.
    When the disenrollment is completed successfully, the device is removed from the DeviceHub account and a success toast confirms this. If the disenrollment fails, the device appears again in the list (in its previous state) and an error message indicates the failure.
The device has been disenrolled.