I was able to publish data to an Azure IoT Hub via Node-Red over MQTT protocol using the attached flow. I referenced the Azure configuration tutorial below.
Azure IoT Tutorial : IoT Hub | Stream Analytics |Time Series Insights | SQL
In the Node-RED flow, I used the following open source nodes: https://flows.nodered.org/node/@nodecolor/node-red-contrib-azure-iot-hub
This is a fork of the main branch since I found there was an incompatibility with the current version of Node-RED.
I used the following tool to view the MQTT telemetry data: https://github.com/Azure/azure-iot-explorer/releases
... View more