Share via

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.

0 comments No comments

Answer accepted by question author

Sander van de Velde | MVP 37,061 Reputation points 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'.

Was this answer helpful?


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.