Sending IoT events to Event Grid
One thing to remember is that Event Grid is used for any type of event-based processing in Azure. It can facilitate events from many different Azure services. Some common services are storage, functions, and web applications.
Azure IoT Hub seamlessly integrates with Azure Event Grid, allowing you to effortlessly dispatch event notifications to various services and initiate subsequent workflows. By configuring your business applications to actively monitor IoT Hub events, you can respond to pivotal occurrences with utmost reliability, scalability, and security. For instance, envision the creation of an application that automatically updates a database, generates a work ticket, and dispatches email notifications whenever a new IoT device is registered within your IoT hub.
To set up an event, navigate to the service providing the event (in our case, IoT Hub) and select the Events option in the menu:
Figure 12.2 – Setting...