Events with DeviceTelemetry type are no longer sent to EventHub when unauthorized access to IoT Hub is attempted

Piotr Machowski 0 Reputation points
2024-07-09T13:27:24.3766667+00:00

Events with DeviceTelemetry type are no longer sent to EventHub when an unauthorized access to IoT Hub is attempted (with invalid authorization).

This functionality used to work, but at this moment events are no longer visible via servicebus connection nor Stream Analytics

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,205 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
648 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 33,146 Reputation points MVP
    2024-07-09T16:54:06.06+00:00

    Hello @Piotr Machowski,

    welcome to this moderated Azure community forum.

    Did you by chance create a custom route and endpoint in your IoT Hub?

    If so, this probably change the default behavior of the normal (eventhub-compatible) route towards eg. Stream Analytics.

    User's image

    The normal route suddenly acts like a fallback, only passing on message not caught by any other route.

    To fix this, just add a route pointing to the 'events' endpoint:

    User's image

    This is marked as a 'built-in' endpoint:

    User's image

    Does this solve your problem?


    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.