Hello @Haris Papageorge ,
you want to send incoming Azure IoT Hub device messages to a blob in Azure Storage.
there are several ways to do this without an Azure Function:
- You can make use of an IoT Hub route and send (filtered) messages to a blob storage endpoint.
- If you send/route messages to an EventHub, you can make use of the Archive option of that Event Hub.
Still, working with an Azure Function is helpful if you want to execute custom logic.
Notice, use a custom consumer group like 'fa' to prevent two services from reading the same IoT Hub messages (that will lead to errors):
You can add custom consumer groups in the IoT Hub using the 'Built-in endpoints' menu option.
In the Function, triggered by an incoming IoT Hub message, just add a Blob storage output:
This should look like this:
Check out this output example too.