You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/connectors/connectors-create-api-azure-event-hubs.md
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,38 @@
1
1
---
2
-
title: Connect to Azure Event Hubs
3
-
description: Learn how to connect to your event hub, and add a trigger or an action to your workflow in Azure Logic Apps.
2
+
title: Connect from Workflows to Azure Event Hubs
3
+
description: Learn how to connect to your event hub and then add an Azure Event Hubs trigger or action to your workflow in Azure Logic Apps.
4
4
services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
8
ms.date: 08/05/2025
9
-
#customer intent: As a developer, I want to connect logic app workflows to Azure Event Hubs to monitor and manage event from my event hub.
9
+
#customer intent: As an integration developer, I want to connect my logic app workflows to Azure Event Hubs so I can automate tasks that monitor and manage events in my event hub.
10
10
---
11
11
12
-
# Connect to an event hub from workflows in Azure Logic Apps
12
+
# Connect workflows to event hubs in Azure Logic Apps
The Azure Event Hubs connector helps you connect your logic app workflows to event hubs in Azure. You can have your workflows monitor and manage events that are sent to an event hub. For example, your workflow can check, send, and receive events from your event hub. This article is guide to starting to use the Azure Event Hubs connector. It shows you how to connect to an event hub and add an Event Hubs trigger or action to your workflow.
16
+
To automate tasks that monitor and manage events in an event hub from within your workflow in Azure Logic Apps, use the Azure **Event Hubs** connector operations. For example, your workflow can check, send, and receive events from your event hub.
17
17
18
-
For more information about Azure Event Hubs or Azure Logic Apps, see [What is Azure Event Hubs](../event-hubs/event-hubs-about.md)or [What is Azure Logic Apps](../logic-apps/logic-apps-overview.md).
18
+
This article shows how to connect to your event hub by adding an **Event Hubs** trigger or action to your workflow.
19
19
20
-
For all the operations and other technical information, such as properties and limits, see the [Event Hubs connector's reference page](/connectors/eventhubs/).
20
+
21
+
## Connector reference
22
+
23
+
For information about this connector's operations, their parameters, and other technical information, such as limits, known issues, and so on, see the [Event Hubs connector's reference page](/connectors/eventhubs/).
21
24
22
25
## Prerequisites
23
26
24
-
- An Azure account and subscription. If you don't have an Azure subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
27
+
- An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
25
28
26
29
- An [Event Hubs namespace and event hub](../event-hubs/event-hubs-create.md)
27
30
31
+
You also need the connection string for your event hub namespace. Make sure to check that your workflow can access your event hub. See [Check permissions and get connection string](#permissions-connection-string).
32
+
28
33
- The logic app workflow where you want to access your event hub
29
34
30
-
To start a workflow with an Event Hubs trigger, you need an empty workflow. If you're new to [Azure Logic Apps](../logic-apps/logic-apps-overview.md), try this [quickstart to create an example Consumption logic app workflow](../logic-apps/quickstart-create-example-consumption-workflow.md).
35
+
To start your workflow with an Event Hubs trigger, you need an empty workflow. To use an Event Hubs action in your workflow, your workflow can start with any trigger that works best for your scenario.
31
36
32
37
<aname="permissions-connection-string"></a>
33
38
@@ -39,18 +44,21 @@ To make sure that your workflow can access your event hub, check your permission
39
44
40
45
1. On the namespace menu, under **Settings**, select **Shared access policies**. In the **Claims** column, check that you have at least **Manage** permissions for that namespace.
41
46
42
-
:::image type="content" source="./media/connectors-create-api-azure-event-hubs/event-hubs-namespace.png" alt-text="Screenshot showing the Azure portal, your Event Hubs namespace, and Manage permissions appearing in the Claims column." lightbox="./media/connectors-create-api-azure-event-hubs/event-hubs-namespace.png":::
47
+
:::image type="content" source="./media/connectors-create-api-azure-event-hubs/event-hubs-namespace.png" alt-text="Screenshot shows Azure portal, Event Hubs namespace, and Claims column with Manage permissions." lightbox="./media/connectors-create-api-azure-event-hubs/event-hubs-namespace.png":::
43
48
44
-
1.If you want to later manually enter your connection information, get the connection string for your event hub namespace.
49
+
1.Get the connection string for your event hub namespace so you can manually enter your connection information later:
45
50
46
51
1. In the **Policy** column, select **RootManageSharedAccessKey**.
47
52
48
53
1. Find your primary key's connection string. Copy and save the connection string for later use.
49
54
50
-
:::image type="content" source="media/connectors-create-api-azure-event-hubs/find-event-hub-namespace-connection-string.png" alt-text="Screenshot showing the primary key's connection string with the copy button selected." lightbox="media/connectors-create-api-azure-event-hubs/find-event-hub-namespace-connection-string.png":::
> To confirm whether your connection string is associated with your Event Hubs namespace or with a specific event hub, make sure the connection string doesn't have the `EntityPath` parameter. If you find this parameter, the connection string is for a specific Event Hubs entity and isn't the correct string to use with your workflow.
58
+
>
59
+
> To confirm that your connection string belongs to your Event Hubs namespace, and not a specific event hub,
60
+
> make sure the connection string doesn't have the `EntityPath` parameter. If you find this parameter,
61
+
> the connection string belongs to an event hub and isn't the correct string to use with your workflow.
54
62
55
63
<aname="create-connection"></a>
56
64
@@ -158,7 +166,6 @@ In Azure Logic Apps, an [action](../logic-apps/logic-apps-overview.md#logic-app-
158
166
159
167
1. When you're done, on the designer toolbar, select **Save**.
160
168
161
-
## Connector reference
162
169
163
170
For all the operations and other technical information, such as properties and limits, see the [Event Hubs connector's reference page](/connectors/eventhubs/).
0 commit comments