This post first explains the different connection strings in Azure IoT Hub, then gives a simple IoT Hub solution Integrate Azure Functions with Azure IoT Hub using all three connection strings.
Connection Strings
There're three types of connection strings in Azure IoT Hub:
IoT Hub Connection String
Used mainly ...