I've created a new device on IoT Hub and doesn't appear on the Devices Page

Diego Chavez 20 Reputation points
2025-11-13T22:11:46.55+00:00

There's an critical bug on the UI manager for device creation,

  1. After using the page "Create a device"
  2. I can't see the device on the "Devices" Page,
  3. But I get this error: "A device with this name already exists." if I try to create the device with the same name.

So clearly the device is created but not displayed on the UI.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
{count} votes

Answer accepted by question author
  1. Sridhar M 2,675 Reputation points Microsoft External Staff Moderator
    2025-11-13T23:43:45.75+00:00

    Hi Diego Chavez

    Welcome to Microsoft Q&A and Thank you for reaching out.

    This behavior usually indicates that the device was successfully created in IoT Hub but the portal UI is not refreshing or rendering the device list correctly. Here’s how you can confirm and resolve it:

    Verify Device Exists

    1. Use Azure CLI or REST API:
         az iot hub device-identity show --device-id <deviceName> --hub-name <yourIoTHubName>
      
      If the device exists, you’ll get its JSON details.
    2. Alternatively, use:
         az iot hub device-identity list --hub-name <yourIoTHubName>
         
      
      This lists all devices regardless of UI issues.

    UI Shows “Device Already Exists”

    • The portal checks the backend before creating a new device. Since the device exists, you get the error.
    • The Devices page may fail to load due to:
      • Browser cache issues.
      • Portal bug (recently reported in some regions).
      • Filters applied (e.g., showing only enabled devices).

    Fixes & Workarounds

    • Clear filters on the Devices page (check if “Status” or “Tags” filters are active).
    • Hard refresh the portal (Ctrl+Shift+R) or try in an incognito window.
    • If still missing:
      • Use Azure CLI or IoT Explorer to manage the device.
      • Check if the device is in a different IoT Hub or subscription.

    I Hope this helps. Do let me know if you have any further queries.

    Thank you!


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.