I have an error before I can create a device and I cannot create a device

Saïda BEN SLIMEN 1 Reputation point
2021-11-29T09:51:00.827+00:00

I have an error before I can create a device and I cannot create a device: IoT devices - Unable to retrieve devices. The request failed with the following information: Network error while trying to retrieve the resource.

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
377 questions
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
530 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,109 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,161 Reputation points MVP
    2021-11-29T10:20:24.293+00:00

    Hello @Saïda BEN SLIMEN ,

    your IoT Hub seems not to able to show the list of devices.

    Did you check the Service health page already?

    153310-image.png

    Or check this page.

    I cannot reproduce your issue on my IoT HUbs but I've seen this same issue in the past. Then, I just had to wait a few hours and then it worked again.

    I remember this was only an Azure portal issue in my case.

    I was still able to eg. create a new device using the command line (az) interface:

    az iot hub device-identity create -n {iothub_name} -d {device_id} --ee false  
    

    This results is a new device:

    153309-image.png

    Using the AZ command on the azure command prompt, you can also list available devices.

    If you want to contact Microsoft about this, you can start with sending a message to Azure Support on Twitter

    0 comments No comments