Skip to content

Commit 913e730

Browse files
committed
SFI - Wave 2 - Event Grid - updates
1 parent 98cef63 commit 913e730

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

articles/event-grid/custom-event-to-hybrid-connection.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ You need an application that can retrieve events from the hybrid connection. The
7979

8080
1. Compile and run the application from Visual Studio.
8181

82+
[!INCLUDE [microsoft-entra-id-recommendation.md](./inclues/microsoft-entra-id-recommendation.md)]
83+
8284
## Send an event to your topic
8385

8486
Let's trigger an event to see how Event Grid distributes the message to your endpoint. This article shows how to use Azure CLI to trigger the event. Alternatively, you can use [Event Grid publisher application](https://github.com/Azure-Samples/event-grid-dotnet-publish-consume-events/tree/master/EventGridPublisher).

articles/event-grid/event-hubs-integration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ You've finished setting up your event hub, dedicate SQL pool (formerly SQL Data
238238

239239
:::image type="content" source="media/event-hubs-functions-synapse-analytics/query-results.png" alt-text="Screenshot showing the query results.":::
240240

241+
242+
[!INCLUDE [microsoft-entra-id-recommendation.md](./inclues/microsoft-entra-id-recommendation.md)]
243+
241244
## Monitor the solution
242245
This section helps you with monitoring or troubleshooting the solution.
243246

articles/event-grid/event-schema-data-manager-for-agriculture.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ The following example show schema for **Microsoft.AgFoodPlatform.PartyChanged**:
9494
"data": {
9595
"actionType": "Deleted",
9696
"modifiedDateTime": "2022-10-17T18:43:37Z",
97-
"eTag": "f700fdd7-0000-0700-0000-634da2550000",
97+
"eTag": "0000000000-0000-0000-0000-0000000000000",
9898
"properties": {
9999
"key1": "value1",
100100
"key2": 123.45
101101
},
102102
"id": "<YOUR-PARTY-ID>",
103103
"createdDateTime": "2022-10-17T18:43:30Z"
104104
},
105-
"id": "23fad010-ec87-40d9-881b-1f2d3ba9600b",
105+
"id": "000000000-0000-0000-881b-1f2d3ba9600b",
106106
"source": "/subscriptions/{SUBSCRIPTION-ID}/resourceGroups/{RESOURCE-GROUP-NAME}/providers/Microsoft.AgFoodPlatform/farmBeats/{YOUR-RESOURCE-NAME}",
107107
"subject": "/parties/<YOUR-PARTY-ID>",
108108
"type": "Microsoft.AgFoodPlatform.PartyChanged",
@@ -122,15 +122,15 @@ The following example show schema for **Microsoft.AgFoodPlatform.PartyChanged**:
122122
"data": {
123123
"actionType": "Deleted",
124124
"modifiedDateTime": "2022-10-17T18:43:37Z",
125-
"eTag": "f700fdd7-0000-0700-0000-634da2550000",
125+
"eTag": "0000000-0000-0000-0000-000000000000",
126126
"properties": {
127127
"key1": "value1",
128128
"key2": 123.45
129129
},
130130
"id": "<YOUR-PARTY-ID>",
131131
"createdDateTime": "2022-10-17T18:43:30Z"
132132
},
133-
"id": "23fad010-ec87-40d9-881b-1f2d3ba9600b",
133+
"id": "0000000-0000-0000-0000-00000000000",
134134
"topic": "/subscriptions/{SUBSCRIPTION-ID}/resourceGroups/{RESOURCE-GROUP-NAME}/providers/Microsoft.AgFoodPlatform/farmBeats/{YOUR-RESOURCE-NAME}",
135135
"subject": "/parties/<YOUR-PARTY-ID>",
136136
"eventType": "Microsoft.AgFoodPlatform.PartyChanged",
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Recommendation to use Microsoft Entra ID authentication
3+
description: This include file has an important note that recommends customers to use Microsoft Entra ID authentication in production environments.
4+
author: spelluru
5+
ms.service: azure-event-grid
6+
ms.topic: include
7+
ms.date: 08/14/2024
8+
ms.author: spelluru
9+
ms.custom: include file
10+
---
11+
12+
13+
> [!IMPORTANT]
14+
> We use connection string to authenticate to Azure Event Hubs namespace to keep the tutorial simple. We recommend that you use Microsoft Entra ID authentication in production environments. When using an application, you can enable managed identity for the application and assign an appropriate role (Azure Event Hubs Owner, Azure Event Hubs Data Sender, or Azure Event Hubs Data Receiver) on the Event Hubs namespace. For more information, see [Authorize access to Event Hubs using Microsoft Entra ID](authorize-access-azure-active-directory.md).
15+

0 commit comments

Comments
 (0)