0
votes

I have an IoTHubTrigger Azure function that processes the events from the IoT Hub. It works as expected until I add a new Route in "Message routing" setting of the IoT Hub to send events to another event hub. In which case, the events successfully get routed to the event hub but don't hit the IoTHubTrigger Azure function anymore. Worth mentioning that the only options I have as endpoints to for route are Event Hubs, Service Bus Queue, Service Bus Topic and Storage.

Is there a way for me to have it route to both, the azure function and the event hub?

1

1 Answers

1
votes

The following route will forward all telemetry messages to the default endpoint such as a built-in iot hub endpoint events:

enter image description here