microsoft / vscode-azure-iot-tools

The ultimate collection of extensions for working with Azure IoT in VS Code!
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools
MIT License
20 stars 19 forks source link

Missing devices on VS code #20

Open dean-sh opened 4 years ago

dean-sh commented 4 years ago

Hello, I'm using the extension on VS code and I'm missing some IOT devices.

Name: Azure IoT Hub Toolkit Id: vsciot-vscode.azure-iot-toolkit Description: Interact with Azure IoT Hub, IoT Device Management, IoT Edge Management, IoT Hub Device Simulation, IoT Hub Code Generation and IoT Hub Device Provisioning Service (DPS) Version: 2.14.0 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit

dean-sh commented 4 years ago

Note: After some digging, this is probably related to Azure IOT hub limitations- Maximum number of device identities returned in a single call is 1000. https://github.com/MicrosoftDocs/azure-docs/blob/master/includes/iot-hub-limits.md

formulahendry commented 4 years ago

Hi @dean-sh , thanks for reporting this! We will have investigation on this.

asanscra commented 2 years ago

Hello - I'm having the same issue, I have over 1000 devices and now some are not showing up in vscode. Any updates or fixes for this?

grlulaj commented 2 years ago

This is by design. The extension uses the Node SDK to list devices from the service registry. Info on this call can be found at https://github.com/Azure/azure-iot-sdk-node/blob/master/service/src/registry.ts#L225, but the short answer is this call will only ever return <= 1000 records.