Azure Analytics built-in role

Azure Event Hubs Data Receiver

Allows a principal to receive events from Azure Event Hubs. The role uses a control-plane Action to read consumer groups and a data-plane DataAction to receive events; it does not provide the complete access of Data Owner.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: a638d3c7-ab3a-418d-83e6-5f17a39d4fde

Control-plane actions (1)

Data-plane actions (1)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign at a consumer group when one consuming application needs access to its independent view of the event stream, at an event hub for its consumer groups, or at a namespace for all contained event hubs. Resource-group and subscription assignments are inherited more broadly; the Azure portal does not currently support consumer-group-level role assignment.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Azure Event Hubs Data Receiver to the consuming identity at the narrowest supported consumer-group, event-hub, or namespace scope. Use command-line tooling for consumer-group scope because the Azure portal does not currently support assignments at that level.

Related roles (2)

Common questions

When should I assign the Azure Event Hubs Data Receiver Azure role?

Assign Azure Event Hubs Data Receiver when you need to: Authorize an application, service principal, managed identity, or user to consume events from an approved event hub.; and Support independent consuming applications that read the same event hub separately by giving each application receive access to its own consumer group.. Practical scope: Assign at a consumer group when one consuming application needs access to its independent view of the event stream, at an event hub for its consumer groups, or at a namespace for all contained event hubs. Resource-group and subscription assignments are inherited more broadly; the Azure portal does not currently support consumer-group-level role assignment.

What permissions does the Azure Event Hubs Data Receiver Azure role grant?

The role definition grants 2 combined control-plane and data-plane actions. Representative operations include: Microsoft.EventHub/*/eventhubs/consumergroups/read; and Microsoft.EventHub/*/receive/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Event Hubs Data Receiver Azure role?

Key considerations when assigning Azure Event Hubs Data Receiver: The receive DataAction exposes event contents available at the assigned scope.; Namespace, resource-group, and subscription assignments can expose events from more event hubs than a consumer-group or event-hub assignment.; and The role does not grant send access or complete Event Hubs management access by itself.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →