We currently have devices which are sending files to Azure through an Azure IoTHub using the file upload functionality.
Ideally we would have an Azure Function which gets triggered when there is a new File uploaded. We are aware of the fileuploadnotifications rest API but with this we need to use a timertriggered Azure Function and need to poll this API.
Is there a way to let the IoTHub trigger the azure function when there is a new file upload?
EDIT 1
I just tried to hook up the function to the event hub, but instead of event hub name messages/events I used messages/servicebound/fileuploadnotifications according to the suggestion made by Matt Mason - MSFT. In this functions which was bound to the fileNotifications path I only received the messages I sent to the IoTHub and receive no file upload notifications. See the screenshot below.