thomasnordquist / MQTT-Explorer

An all-round MQTT client that provides a structured topic overview
https://mqtt-explorer.com
Other
2.93k stars 283 forks source link

How do I connect to Azure IoT Hub? #634

Open TiedtTech opened 2 years ago

TiedtTech commented 2 years ago

How do I connect to Azure IoT Hub?

sborsay commented 1 year ago

Your MQTT ClientID has to match your device name on the cloud. This can be configured in advanced options. It is a really a server side issue with Azure as the MQTT protocol just specifies a unique ClientID but for some reason Azure requires a name match as well. This isn't necessary when connecting to AWS as you can use the randomly generated ClientID.