Share via

Cant connect to device in Azure IoT Hub

Alwan 6 Reputation points
2021-12-05T03:43:53.88+00:00

I want to add a new device but this error showed up.

155054-image.png

I've tried changing the connection but the still not working

Azure IoT Hub
Azure IoT Hub

An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.


1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 37,066 Reputation points MVP
    2021-12-05T12:18:38.247+00:00

    Hello @Saïda BEN SLIMEN ,

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

    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.

    Which region is this? Did you check the Service health page already? (Search for service health within the portal)

    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 then results in a new device.

    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 or submit a support request.

    Was this answer 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.