Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing devices on VS code #20

Open
dean-sh opened this issue Dec 18, 2019 · 4 comments
Open

Missing devices on VS code #20

dean-sh opened this issue Dec 18, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@dean-sh
Copy link

dean-sh commented Dec 18, 2019

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

  • They do exist on Azure portal, but not in the extension list.
  • I'm referring to the IOT devices pane under "Explorer" tab.
  • Most of my devices appear correctly.
  • When querying the list of devices using the toolkit, I am getting the same list that exist on Explorer pane, but it is showing only a 1000 devices, and we have more than that. Could that be the issue?
  • I've reinstalled the extension and even tried downgrading.

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
Copy link
Author

dean-sh commented Dec 18, 2019

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 formulahendry added the enhancement New feature or request label Dec 19, 2019
@formulahendry
Copy link
Member

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

@asanscra
Copy link

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
Copy link

grlulaj commented Nov 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants