Query error For Iot Edge

Petr Maslak 61 Reputation points
2021-03-19T09:51:50.237+00:00

How should query looks like in order to get all edge devices?
79567-query-error.jpg

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

Accepted answer
  1. Sander van de Velde 15,236 Reputation points Microsoft MVP
    2021-03-20T23:43:26.727+00:00

    Hello @Petr Maslak

    In this page, you can only fill in the WHERE clause. And it is paged to protect both the Azure service and the user in case there are a million users.

    If you fill in:

    79872-image.png

    You get (the same) page list of all edge devices.

    An alternative is the Query Explorer, seen in the main menu of the IoT Hub :

    79838-image.png

    Notice the 'unlimited' option... This only shows the device twin of edge devices, not the module twins.

    You can also check out the underlying IoT Hub Rest API eg. 'Get Devices'.


0 additional answers

Sort by: Most helpful