An Online Azure IoT Hub Developer Tool – IoT DevTool ( For IoT Hub Device Administrators)

IoT DevTool is not a Microsoft official project.

A series of posts to introduce IoT DevTool:

  1. Overview
  2. For Cloud Developers
  3. For IoT Hub Device Administrators
  4. For Device Developers
  5. For RESTful Developers

Connect to IoT Hub

Before you start you need a connection string with registry read & write permission. You can find it from Device Explorer tab in IoT Hub dashboard.

connection string

Both connection string with primary key and secondary key are okay.

Then paste the connection string to IoT DevTool Registry, and click apply button, and the device list will be shown.

device list

Add and Remove Devices

To add a new device, click Add new device and type a device ID, then click Add.

add device

To remove a device, click the device in the list, and then click delete button.

remove device

Get Device Details and Generate Device SAS Token

Click a device in the list and click details button to view device details. The details include Connection State, Primary Key, Connection String, Last Activity Time and etc.

device details

To generate a device SAS token, switch Show SAS Token first, and set a TTL. Default TTL is 3600 seconds, which means the SAS token will expire after 1 hour. Then click generate button.

generate sas token

Connect to IoT Hub with Specific Device

You can click connect button in device list to quickly use the specific device in IoT DevTool Devices tool.

connect device

The device connection string will be filled automatically.

use device

Comments (2)

  1. Satya says:

    very nice tool, do you have source code available on GitHub for the same.

    1. Sneezry says:

      Hi Satya, thanks for your interest in IoT DevTool!

      Yes, we have published IoT DevTool source code to GitHub (, you can deploy it to your own server!

      However, we still need to do more work to make it easy to deploy to other server.

      If you do not want to wait, you can do some extra work yourself.

      Change REST API proxy. Because Azure IoT REST API doesn’t support CORS yet, you need host a proxy to handle RESTful request, also you need change REST API domain in the code.

Skip to main content