Hello @Emilia,
welcome to this moderated Azure community forum.
You are probably sending message to your IoT Hub with some SDK like this simulation:
Next, you need to create an Azure Storage account.
Within the IoT Hub, add a route:
You need to give it a name, select the storage account and create a container within the storage account and select it.
I also switched to JSON format.
Create the endpoint.
Next, the route must be configured:
Just enter a name. Keep the filter to 'true' so all messages are accepted.
Create the route while skipping the enrichments.
Once the route is created, you need to wait a little before the first file is created. It takes time for the IoT Hub to construct the underling infrastructure. This is also related to the batch frequency and chunk size window.
It's a good sign if the endpoint is marked as healty:
Navigate to the storage account and see the first file is created after a while:
Notice the body is still base64 encoded. This is typically for the storage output, other outputs offer the actual JSON. You can easily decode it:
Check the IoT Hub metrics also regarding the storage account routing:
See also the documentation and the MS Learn module for more details.
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.