Solution to Unreachable Azure IoT Hub Endpoint

Azure IoT allows you to define “Endpoints” and send messages to them via “Routes”. Learn more about Endpoints and Routes here.

I setup a Service Bus Queue Endpoint, but it was showing as “Unreachable” in the portal.

I spent a bunch of time trying to debug this and ultimately discovered that IoT Hub Service Bus Endpoints don’t support Queues with “Sessions” or “Duplicate Detection” enabled. Here’s a link to the official docs.

So, when you create your Queue, make sure you DO NOT check the boxes below:

  • “Enable duplicate detection”
  • “Enable sessions”

Jon