Image from http://www.plasmacomp.com/blogs/internet-of-things-iot-device-examples
Days ago, I wrote a post to introduce two easier ways to add devices into IoT Hub. You can add and remove devices in seconds with the mentioned tools.
Today, I will introduce a new web-based tool for IoT Hub device management to you. With this tool, you can not only add and remove devices, but also do something else to the devices, such as generate device SAS token, view device connection state and etc. You can visit https://azure-iothub.github.io/device-management/ to use this tool in your favorite browser.
The first thing you need to do is to find your IoT Hub connection string. Open your IoT Hub dashboard in Azure portal, switch to Shared access policies tab, click iothubowner, and copy Connection string—primary key.
Then paste it into Connection String input box in the tool.
After that, click apply button, and you will see a device list of your IoT Hub.
If the device icon is in gray, it means the device is disabled. You can add new devices by clicking Add a new device button. To remove a device or view a device detail, click a device in the list, and click Delete or Detail button.
In device detail page, you can see device information including device primary key, device connection string, device state, last activity time and etc.
Also, you can generate device SAS token in device detail page.
Now let’s back to device list. Expect Detail and Delete, there’s another button called connect. You can click connect button, and the device tool will open for you to connect to the device. In the new tool page, device connection string has already been filled, and what you need to do is just click Connect button.
You can learn more about the device tool from https://blogs.msdn.microsoft.com/zheli/2017/03/06/web-based-azure-iot-hub-developer-tool/.
The device management tool can only list top 20 devices in your IoT Hub currently, we may increase this number in the feature when we think it’s necessary.