Edit

Disable or enable a device in Azure Device Registry (preview)

Use Azure Device Registry to disable a device when you need to stop device activity without deleting the device resource. Enable the device again when you're ready to return it to service.

Important

Azure IoT Hub with ADR integration and Microsoft-backed X.509 certificate management is in public preview and isn't recommended for production workloads. For more information, see the FAQ: What is new in IoT Hub?

Disabling a device might interrupt active operations, data collection, or dependent workflows. Before you enable a device, confirm that its configuration, security settings, and operational readiness meet your production requirements.

Prerequisites

Before you begin, make sure that you have the required resources and permissions.

Disable a device

Use these steps to disable a device in the Azure portal when you need to stop device activity without deleting the device resource.

  1. Sign in to the Azure portal.

  2. Search for and select Azure Device Registry.

  3. Select Devices.

    Screenshot showing the list of devices in Azure Device Registry.

  4. Select the device that you want to disable.

  5. On the device page, select edit next to Device status.

    Screenshot showing the edit button next to device status.

  6. In Edit status, select Disable.

    Screenshot showing the dialog to disable the device.

  7. Select Save.

  8. Refresh the device page and verify that Device status shows Disabled.

Enable a device

Use these steps to enable a device after you verify that it's ready to return to service. If you previously revoked its certificate during recovery, verify its credential state is valid before you begin.

  1. Sign in to the Azure portal.

  2. Search for and select Azure Device Registry.

  3. Select Devices.

  4. Select the disabled device that you want to enable.

  5. On the device page, select edit next to Device status.

  6. In Edit status, select Enable.

  7. Select Save.

  8. Refresh the device page and verify that Device status shows Enabled.