Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- An active Azure subscription. If you don't have one, create a free account.
- An existing IoT Hub Gen2 deployment linked to a Device Registry namespace. For setup steps, see Deploy Azure IoT Hub with ADR integration and certificate management.
- At least one device in your Device Registry namespace.
- The Azure Device Registry Contributor role on the Device Registry namespace.
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.
Sign in to the Azure portal.
Search for and select Azure Device Registry.
Select Devices.
Select the device that you want to disable.
On the device page, select edit next to Device status.
In Edit status, select Disable.
Select Save.
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.
Sign in to the Azure portal.
Search for and select Azure Device Registry.
Select Devices.
Select the disabled device that you want to enable.
On the device page, select edit next to Device status.
In Edit status, select Enable.
Select Save.
Refresh the device page and verify that Device status shows Enabled.