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/event-grid/includes/enable-identity-portal.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,15 @@ ms.custom: include file
11
11
12
12
## Enable managed identity for the Event Grid namespace
13
13
14
-
1. On the **Event Grid Namespace** page, select **Identity** under **Settings** on the left menu.
14
+
1. On the **Event Grid Namespace** page, select **Identity** under **Settings** on the left menu.
15
15
1. Turn **on** the switch to enable a system-assigned managed identity.
16
16
1. Select **Save** on the toolbar to save the setting.
17
17
18
-
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity.png" alt-text="Screenshot of a system-assigned identity page for an Event Grid namespace." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity.png":::
18
+
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity.png" alt-text="Screenshot of a system-assigned identity page for an Event Grid namespace." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity.png":::
19
+
19
20
1. Select **Yes** on the confirmation message.
20
21
1. Confirm that you see the object ID of the system-assigned managed identity and see a link to assign roles.
21
22
22
-
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png" alt-text="Screenshot that shows assigning identity to a namespace is completed." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png":::
23
+
:::image type="content" source="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png" alt-text="Screenshot that shows assigning identity to a namespace is completed." lightbox="./media/enable-identity-portal/event-grid-enable-managed-identity-confirmation.png":::
23
24
24
-
Check notifications in the portal to confirm that the managed identity is enabled for the namespace.
25
+
Check notifications in the portal to confirm that the managed identity is enabled for the namespace.
Copy file name to clipboardExpand all lines: articles/event-grid/includes/event-grid-create-namespace-portal.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.custom:
12
12
---
13
13
14
14
## Create a namespace in the Azure portal
15
-
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces and permission bindings. It provides a unique namespace, allowing you to have multiple resources in the same Azure region. With an Azure Event Grid namespace you can group now together related resources and manage them as a single unit in your Azure subscription.
15
+
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces and permission bindings. It provides a unique namespace, allowing you to have multiple resources in the same Azure region. With an Azure Event Grid namespace, you can group now together related resources and manage them as a single unit in your Azure subscription.
16
16
17
17
Please follow the next sections to create, view and manage an Azure Event Grid namespace.
18
18
@@ -21,17 +21,21 @@ To create a namespace:
21
21
1. Sign-in to the [Azure portal](https://portal.azure.com).
22
22
1. In the **search box**, enter **Event Grid Namespaces** and select **Event Grid Namespaces** from the results.
23
23
24
-
:::image type="content" source="../media/create-view-manage-namespaces/portal-search-box-namespaces.png" alt-text="Screenshot showing Event Grid Namespaces in the search results.":::
24
+
:::image type="content" source="../media/create-view-manage-namespaces/portal-search-box-namespaces.png" alt-text="Screenshot showing Event Grid Namespaces in the search results.":::
25
+
25
26
1. On the **Event Grid Namespaces** page, select **+ Create** on the toolbar.
26
27
27
-
:::image type="content" source="../media/create-view-manage-namespaces/namespace-create-button.png" alt-text="Screenshot showing Event Grid Namespaces page with the Create button on the toolbar selected.":::
28
+
:::image type="content" source="../media/create-view-manage-namespaces/namespace-create-button.png" alt-text="Screenshot showing Event Grid Namespaces page with the Create button on the toolbar selected.":::
29
+
28
30
1. On the **Basics** page, follow these steps.
31
+
29
32
1. Select the **Azure subscription** in which you want to create the namespace.
30
33
1. Select an existing **resource group** or create a resource group.
31
34
1. Enter a **name** for the namespace.
32
35
1. Select the region or **location** where you want to create the namespace.
33
36
1. Select **Review + create** at the bottom of the page.
34
37
35
-
:::image type="content" source="../media/create-view-manage-namespaces/create-namespace-basics-page.png" alt-text="Screenshot showing the Basics tab of Create namespace page.":::
36
-
6. On the **Review + create** tab, review your settings and select **Create**.
38
+
:::image type="content" source="../media/create-view-manage-namespaces/create-namespace-basics-page.png" alt-text="Screenshot showing the Basics tab of Create namespace page.":::
39
+
40
+
1. On the **Review + create** tab, review your settings and select **Create**.
37
41
1. On the **Deployment succeeded** page, select **Go to resource** to navigate to your namespace.
Copy file name to clipboardExpand all lines: articles/event-grid/includes/event-grid-create-namespace-topic-portal.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,11 @@
12
12
## Create a namespace topic
13
13
14
14
1. If you aren't on the Event Grid Namespace page, follow the [create, view, and manage namespaces](../create-view-manage-namespaces.md) steps to view the namespace you want to use to create the topic.
15
-
2. On the **Event Grid Namespace** page, select **Topics** option in the **Event broker** section on the left menu.
16
-
3. On the **Topics** page, select **+ Topic** button on the command bar.
15
+
1. On the **Event Grid Namespace** page, select **Topics** option in the **Event broker** section on the left menu.
16
+
1. On the **Topics** page, select **+ Topic** button on the command bar.
Copy file name to clipboardExpand all lines: articles/event-grid/mqtt-routing-to-event-hubs-portal-namespace-topics.md
+28-17Lines changed: 28 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,22 +41,28 @@ In a separate tab of the Web browser or in a separate window, use the Azure port
41
41
1. On the **Event Hubs Namespace** page, select **Access control (IAM)** on the left menu.
42
42
1. On the **Access control** page, select **+ Add** on the command bar, and then select **Add role assignment**.
43
43
44
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/event-hubs-access-control-add-role-assignment.png" alt-text="Screenshot that shows the Access control page for the Event Hubs namespace.":::
44
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/event-hubs-access-control-add-role-assignment.png" alt-text="Screenshot that shows the Access control page for the Event Hubs namespace.":::
45
+
45
46
1. On the **Add role assignment** page, select **Azure Event Hubs Data Sender** from the list of roles, and then select **Next** at the bottom of the page.
46
47
47
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-azure-event-hubs-data-sender.png" alt-text="Screenshot that shows the Add role assignment page with Azure Event Hubs Data Sender selected.":::
48
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-azure-event-hubs-data-sender.png" alt-text="Screenshot that shows the Add role assignment page with Azure Event Hubs Data Sender selected.":::
49
+
48
50
1. On the **Members** page, follow these steps:
49
-
1. For the **Assign access to** field, select **Managed identity**.
50
-
1. Choose **+ Select members**.
51
51
52
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-managed-identity.png" alt-text="Screenshot that shows the Add role assignment page with Managed identity selected.":::
52
+
1. For the **Assign access to** field, select **Managed identity**.
53
+
1. Choose **+ Select members**.
54
+
55
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-managed-identity.png" alt-text="Screenshot that shows the Add role assignment page with Managed identity selected.":::
56
+
53
57
1. On the **Select managed identities** page, follow these steps:
58
+
54
59
1. Select your **Azure subscription**.
55
60
1. For **Managed identity**, select **Event Grid Namespace**.
56
61
1. Select the managed identity that has the same name as the Event Grid namespace.
57
62
1. Choose **Select** at the bottom of the page.
58
63
59
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-grid-namespace-managed-identity.png" alt-text="Screenshot that shows the Select managed identities page with the Event Grid namespace's managed identity selected.":::
64
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-grid-namespace-managed-identity.png" alt-text="Screenshot that shows the Select managed identities page with the Event Grid namespace's managed identity selected.":::
65
+
60
66
1. On the **Add role assignment** page, select **Review + assign** at the bottom of the page.
61
67
1. On the **Review + assign** page, select **Review + assign**.
62
68
@@ -66,44 +72,50 @@ In a separate tab of the Web browser or in a separate window, use the Azure port
66
72
1. On the **Event Grid Namespace** page, select **Topics** on the left menu.
67
73
1. On the **Topics** page, select the namespace topic you created earlier.
68
74
69
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-topic.png" alt-text="Screenshot that shows the Topics page with the namespace topic selected.":::
75
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-topic.png" alt-text="Screenshot that shows the Topics page with the namespace topic selected.":::
76
+
70
77
1. On the **Event Grid Namespace Topic** page, select **+ Subscription** on the command bar at the top.
71
78
72
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/subscriptions-page.png" alt-text="Screenshot that shows the Subscriptions page.":::
79
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/subscriptions-page.png" alt-text="Screenshot that shows the Subscriptions page.":::
80
+
73
81
1. On the **Create Subscription** page, follow these steps:
74
82
1. Enter a **name** for the event subscription.
75
83
1. For **Delivery mode**, select **Push**.
76
84
1. Confirm that **Endpoint type** is set to **Event hub**.
77
85
1. Select **Configure an endpoint**.
78
86
79
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription-page.png" alt-text="Screenshot that shows the Create Subscription page.":::
87
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription-page.png" alt-text="Screenshot that shows the Create Subscription page.":::
88
+
80
89
1. On the **Select Event Hub**, follow these steps:
90
+
81
91
1. Select the **Azure subscription** that has the event hub.
82
92
1. Select the **resource group** that has the event hub.
83
93
1. Select the **Event Hubs namespace**.
84
94
1. Select the **event hub** in the Event Hubs namespace.
85
95
1. Then, select **Confirm selection**.
86
96
87
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-hub-page.png" alt-text="Screenshot that shows the Select event hub page.":::
97
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/select-event-hub-page.png" alt-text="Screenshot that shows the Select event hub page.":::
98
+
88
99
1. Back on the **Create Subscription** page, select **System Assigned** for **Managed identity type**.
89
100
1. Select **Create** at the bottom of the page.
90
-
91
-
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription.png" alt-text="Screenshot that shows the Create Subscription page with Create button selected.":::
101
+
102
+
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/create-subscription.png" alt-text="Screenshot that shows the Create Subscription page with Create button selected.":::
92
103
93
104
## Configure routing in the Event Grid namespace
94
105
95
106
1. Navigate back to the **Event Grid Namespace** page by selecting the namespace in the **Essentials** section of the **Event Grid Namespace Topic** page or by selecting the namespace name in the breadcrumb menu at the top.
96
107
1. On the **Event Grid Namespace** page, select **Routing** on the left menu in the **MQTT broker** section.
97
108
1. On the **Routing** page, select **Enable routing**.
98
109
1. For **Topic type**, select **Namespace topic**.
99
-
1. For **Topic**, select the Event Grid namespace topic that you created where all MQTT messages will be routed.
110
+
1. For **Topic**, select the Event Grid namespace topic that you created where all MQTT messages are routed.
100
111
1. Select **Apply**.
101
112
102
113
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/routing-page.png" alt-text="Screenshot that shows the Routing page with the namespace topic selected.":::
103
114
104
-
Check notifications to confirm that the namespace is enabled with the routing information.
115
+
Check notifications to confirm that the namespace is enabled with the routing information.
105
116
106
117
## Create clients, topic space, and permission bindings
118
+
107
119
Follow steps in the quickstart: [Publish and subscribe on an MQTT topic](./mqtt-publish-and-subscribe-portal.md) to:
108
120
109
121
1. Create a client. You can create the second client if you want to, but it's optional.
@@ -113,14 +125,13 @@ Follow steps in the quickstart: [Publish and subscribe on an MQTT topic](./mqtt-
113
125
1. Verify that the event hub received those messages on the **Overview** page for your Event Hubs namespace.
114
126
115
127
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/verify-incoming-messages.png" alt-text="Screenshot that shows the Overview page of the event hub with incoming message count." lightbox="./media/mqtt-routing-to-event-hubs-portal-namespace-topics/verify-incoming-messages.png":::
116
-
117
128
118
129
## View routed MQTT messages in Event Hubs by using a Stream Analytics query
119
130
120
-
Navigate to the Event Hubs instance (event hub) within your event subscription in the Azure portal. Process data from your event hub by using Stream Analytics. For more information, see [Process data from Azure Event Hubs using Stream Analytics - Azure Event Hubs | Microsoft Learn](../event-hubs/process-data-azure-stream-analytics.md). You can see the MQTT messages in the query.
131
+
Navigate to the Event Hubs instance (event hub) within your event subscription in the Azure portal. Process data from your event hub by using Stream Analytics. For more information, see [Process data from your event hub using Azure Stream Analytics](../event-hubs/process-data-azure-stream-analytics.md). You can see the MQTT messages in the query.
121
132
122
133
:::image type="content" source="./media/mqtt-routing-to-event-hubs-portal/view-data-in-event-hub-instance-using-azure-stream-analytics-query.png" alt-text="Screenshot that shows the MQTT messages data in Event Hubs by using the Stream Analytics query tool.":::
123
134
124
135
## Next steps
125
136
126
-
For code samples, go to [this GitHub repository](https://github.com/Azure-Samples/MqttApplicationSamples/tree/main).
137
+
For code samples, go to the [MqttApplicationSamples GitHub repository](https://github.com/Azure-Samples/MqttApplicationSamples/tree/main).
Copy file name to clipboardExpand all lines: articles/event-hubs/includes/create-event-hub.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,15 @@ ms.author: spelluru
11
11
12
12
To create an event hub within the namespace, do the following actions:
13
13
14
-
1. On the **Overview** page, select **+ Event hub** on the command bar.
14
+
1. On the **Overview** page, select **+ Event hub** on the command bar.
15
+
16
+
:::image type="content" source="./media/create-event-hub/create-event-hub4.png" alt-text="Screenshot of the selection of Add event hub button on the command bar.":::
15
17
16
-
:::image type="content" source="./media/create-event-hub/create-event-hub4.png" alt-text="Screenshot of the selection of Add event hub button on the command bar.":::
17
18
1. Type a name for your event hub, then select **Review + create**.
18
19
19
-
:::image type="content" source="./media/create-event-hub/create-event-hub5.png" alt-text="Screenshot of the Create event hub page.":::
20
+
:::image type="content" source="./media/create-event-hub/create-event-hub5.png" alt-text="Screenshot of the Create event hub page.":::
21
+
20
22
1. On the **Review + create** page, select **Create**.
21
23
1. You can check the status of the event hub creation in alerts. After the event hub is created, you see it in the list of event hubs.
22
24
23
-
:::image type="content" source="./media/create-event-hub/event-hub-created.png" alt-text="Screenshot showing the list of event hubs.":::
25
+
:::image type="content" source="./media/create-event-hub/event-hub-created.png" alt-text="Screenshot showing the list of event hubs.":::
0 commit comments