Event Hubs
Connect to Azure Event Hubs to send and receive events.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions and Integration Service Environments (ISEs) |
Power Automate | Premium | All Power Automate regions |
Power Apps | Premium | All Power Apps regions |
Contact | |
---|---|
Name | Microsoft |
URL | Microsoft LogicApps Support Microsoft Power Automate Support Microsoft Power Apps Support |
Connector Metadata | |
---|---|
Publisher | Microsoft |
Website | https://azure.microsoft.com/services/event-hubs/ |
For more information about the connector, see the in-depth section.
In order to use Microsoft Entra ID authentication, the account that is being used needs to be assigned an specific role assignment, for more information, visit Assign an Azure role for access rights - Azure Event Hubs:
Currently, managed identity authentication is only supported in Logic Apps. Follow steps below to use it to connect to your Azure Event Hubs:
- Create an Azure Managed Identity
- Give identity access to Azure Event Hubs resources. For more details, visit Assign an Azure role for access rights - Azure Event Hubs
- If using a user-assigned identity, associate the logic app with the managed identity
- Navigate to the Logic App that will use the managed identity.
- Under Settings section of the blade, click
Identity
- Go to
User assigned
tab and click onAdd
- Select the managed identity to be used and click on
Add
For more information about authenticating with managed identities in Logic Apps visit Authenticate access to Azure resources using managed identities in Azure Logic Apps
- Trigger polling occurs one partition at-a-time. This can potentially cause increased delays as partition count grows.
The connector supports the following authentication types:
Access Key | Provide connection string to access your Azure Event Hubs. | All regions except Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High) | Not shareable |
Access Key (Azure Government) | Provide connection string to access your Azure Event Hubs. | Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High) only | Not shareable |
Azure AD Integrated | Use Azure Active Directory to access your Azure Event Hubs. | MOONCAKE only | Not shareable |
Azure AD Integrated (Azure Government) | Use Azure Active Directory to access your Azure Event Hubs. | Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High) only | Not shareable |
Logic Apps Managed Identity | Create a connection using a LogicApps Managed Identity | LOGICAPPS only | Shareable |
Microsoft Entra ID Integrated | Use Microsoft Entra ID to access your Azure Event Hubs. | All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High) | Not shareable |
Default [DEPRECATED] | This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility. | All regions | Not shareable |
Auth ID: connectionstringauth
Applicable: All regions except Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High)
Provide connection string to access your Azure Event Hubs.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Connection String | securestring | Azure Event Hubs Connection String | True |
Auth ID: connectionstringauth
Applicable: Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High) only
Provide connection string to access your Azure Event Hubs.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Connection String | securestring | Azure Event Hubs Connection String | True |
Auth ID: tokenBasedAuth
Applicable: MOONCAKE only
Use Azure Active Directory to access your Azure Event Hubs.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Namespace Endpoint | string | Provide Event Hubs Namespace Endpoint (e.g: sb://testeh.servicebus.windows.net/) | True |
Auth ID: tokenBasedAuth
Applicable: Azure Government and Department of Defense (DoD) in Azure Government and US Government (GCC) and US Government (GCC-High) only
Use Azure Active Directory to access your Azure Event Hubs.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Namespace Endpoint | string | Provide Event Hubs Namespace Endpoint (e.g: sb://testeh.servicebus.windows.net/) | True |
Auth ID: managedIdentityAuth
Applicable: LOGICAPPS only
Create a connection using a LogicApps Managed Identity
This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs
Name | Type | Description | Required |
---|---|---|---|
LogicApps Managed Identity | managedIdentity | Sign in with a Logic Apps Managed Identity | True |
Namespace Endpoint | string | Provide Event Hubs Namespace Endpoint (e.g: sb://testeh.servicebus.windows.net/) | True |
Auth ID: tokenBasedAuth
Applicable: All regions except Azure Government and Department of Defense (DoD) in Azure Government and MOONCAKE and US Government (GCC) and US Government (GCC-High)
Use Microsoft Entra ID to access your Azure Event Hubs.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Namespace Endpoint | string | Provide Event Hubs Namespace Endpoint (e.g: sb://testeh.servicebus.windows.net/) | True |
Applicable: All regions
This option is only for older connections without an explicit authentication type, and is only provided for backward compatibility.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
Connection String | securestring | Azure Event Hubs Connection String | True |
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 6000 | 60 seconds |
Send event |
Send event. |
Send one or more events to the Event Hub partition (Preview) |
Send one or more events to the Event Hub partition. |
Send event.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Event Hub name
|
eventHubName | True | string |
Name of the Event Hub. |
Content
|
ContentData | byte |
Content of the event |
|
Properties
|
Properties | object |
Key-value pairs for each application property |
|
Partition key
|
partitionKey | string |
Partition key. |
Send one or more events to the Event Hub partition.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Event Hub name
|
eventHubName | True | string |
Name of the Event Hub. |
Content
|
ContentData | byte |
Content of the event |
|
Properties
|
Properties | object |
Key-value pairs for each application property |
|
Partition key
|
partitionKey | True | string |
Partition key. |
When events are available in Event Hub |
When events are available in Event Hub. |
When events are available in Event Hub.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Event Hub name
|
eventHubName | True | string |
Name of the Event Hub. |
Content type
|
contentType | string |
content type of the event. |
|
Content schema
|
contentSchema | string |
content schema of the event. |
|
Consumer group name
|
consumerGroupName | string |
Name of the consumer group. |
|
Minimum partition key
|
minimumPartitionKey | string |
Minimum partition key to read from. |
|
Maximum partition key
|
maximumPartitionKey | string |
Maximum partition key to read from. |
|
Maximum events count
|
maximumEventsCount | integer |
Maximum number of events to read in a batch. |