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

Raj Tiwari 0 Reputation points Microsoft Employee
2023-12-05T18:26:40.98+00:00

Does the IoT Hub Built-in Event Hub endpoint support access using Managed Identity similar to regular Event Hubs? Here is an example - https://video2.skills-academy.com/en-us/azure/event-hubs/authenticate-managed-identity?tabs=latest.

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

2 answers

Sort by: Most helpful
  1. Sander van de Velde | MVP 32,641 Reputation points MVP
    2023-12-05T19:48:04.3133333+00:00

    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
    2023-12-06T14:00:43.2266667+00:00
    0 comments No comments

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.