An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
Hello @Ben Hoffman,
welcome to this moderated Azure community forum.
Check out the answer that @Sampath provided regarding the single session per device.
Keep in mind the Azure IoT is not designed as an MQTT broker.
The IoT Hub is a cloud gateway with a registry for device registrations. It support the MQTT protocol with a limited set of topics, a alternative device connectivity strategy, etc.
If you want to communicate using a vanilla MQTT broker, honouring the V3.1,1 and V5 MQTT protocol, please check out the Azure EventGrid Namespace support for MQTT.
This is a public cloud based MQTT broker supporting the MQTT protocol.
It's not a replacement for the IoT Hub but offers separate use cases like device-2-device communication.
Check this blog post on how to connect and use all features.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.