Skip to content

Commit b11f772

Browse files
committed
Review, edit, Acrolynx, Learn Linter
1 parent fc0bfa0 commit b11f772

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/event-grid/handler-functions.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: Use a function in Azure as an event handler for Azure Event Grid events
2+
title: Function as event handler for Azure Event Grid events
33
description: Describes how you can use functions created in and hosted by Azure Functions as event handlers for Event Grid events.
4-
ms.topic: conceptual
5-
ms.date: 08/31/2023
4+
ms.topic: concept-article
5+
ms.date: 01/21/2025
6+
# Customer intent: I want to know details about using an Azure function as an event handler for Azure Event Grid events.
67
---
78

89
# Use a function as an event handler for Event Grid events
@@ -12,8 +13,8 @@ An event handler is the place where the event is sent. The handler takes an acti
1213

1314
To use a function in Azure as a handler for events, follow one of these approaches:
1415

15-
- Use [Event Grid trigger](../azure-functions/functions-bindings-event-grid-trigger.md). Specify **Azure Function** as the **endpoint type**. Then, specify the function app and the function that will handle events.
16-
- Use [HTTP trigger](../azure-functions/functions-bindings-http-webhook.md). Specify **Web Hook** as the **endpoint type**. Then, specify the URL for the function that will handle events.
16+
- Use [Event Grid trigger](../azure-functions/functions-bindings-event-grid-trigger.md). Specify **Azure Function** as the **endpoint type**. Then, specify the function app and the function that will handle events.
17+
- Use [HTTP trigger](../azure-functions/functions-bindings-http-webhook.md). Specify **Web Hook** as the **endpoint type**. Then, specify the URL for the function that will handle events.
1718

1819
We recommend that you use the first approach (Event Grid trigger) as it has the following advantages over the second approach:
1920
- Event Grid automatically validates Event Grid triggers. With generic HTTP triggers, you must implement the [validation response](end-point-validation-event-grid-events-schema.md) yourself.
@@ -28,7 +29,7 @@ We recommend that you use the first approach (Event Grid trigger) as it has the
2829
|Title |Description |
2930
|---------|---------|
3031
| [Quickstart: Handle events with function](custom-event-to-function.md) | Sends a custom event to a function for processing. |
31-
| [Tutorial: stream big data into a data warehouse](event-hubs-integration.md) | When Event Hubs creates a Capture file, Event Grid sends an event to a function app. The app retrieves the Capture file and migrates data to a data warehouse. |
32+
| [Tutorial: stream big data into a data warehouse](event-hubs-integration.md) | When an event hub creates a Capture file, Event Grid sends an event to a function app. The app retrieves the Capture file and migrates data to a data warehouse. |
3233
| [Tutorial: Azure Service Bus to Azure Event Grid integration examples](../service-bus-messaging/service-bus-to-event-grid-integration-example.md?toc=%2fazure%2fevent-grid%2ftoc.json) | Event Grid sends messages from Service Bus topic to a function app and a logic app. |
3334

3435
## REST example (for PUT)
@@ -78,5 +79,5 @@ You can use the [New-AzEventGridSubscription](/powershell/module/az.eventgrid/ne
7879
> [!NOTE]
7980
> When you use Event Grid Trigger, the Event Grid service fetches the client secret for the target Azure function, and uses it to deliver events to the Azure function. If you protect your Azure function with a Microsoft Entra application, you have to take the generic web hook approach and use the HTTP Trigger.
8081
81-
## Next steps
82+
## Related content
8283
See the [Event handlers](event-handlers.md) article for a list of supported event handlers.

0 commit comments

Comments
 (0)