Azure IoT Hub Built-in Event Hub Endpoint Access Using Managed Identity

Raj Tiwari 0 Reputation points Microsoft Employee

Does the IoT Hub Built-in Event Hub endpoint support access using Managed Identity similar to regular Event Hubs? Here is an example -

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,156 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
597 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,518 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sander van de Velde | MVP 31,116 Reputation points MVP

    Hello @Raj Tiwari,

    welcome to this moderated Azure community forum.

    From as far I have seen (and the Azure Portal supports it) you need to use the 'connection string':

    User's image

    You can however route messages TO and EventHub via the IoT Hub routing option:

    User's image

    There, you can use a managed Identity if the IoT Hub identity is activated:

    User's image

    Check out Azure IoT Hub routing.

    Be aware the default event-hub-compatible endpoint turns into a fallback solution when routing is added.

    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.

    1 person found this answer helpful.
    0 comments No comments

  2. Dom 1,631 Reputation points Microsoft Employee

    There's some further information here about IoT Hub support for managed identities:

    0 comments No comments