Subscribing to Event Grid
The Azure Function is a trigger for Event Grid events. We need to subscribe to Event Grid to receive these events. This can be configured through the Azure portal. Execute the following steps:
- Select the
AzureMapUpdater
resource. - Select Functions in the left menu.
- Click on the function named
AzureMapUpdater
.The following screenshot highlights this process:
Figure 14.16 – Opening the Azure Function in the AzureMapUpdater resource
This will open the configuration of the AzureMapUpdater
function. Execute the following steps to edit the trigger for this function:
- Select Integration in the left menu.
- Click on the Event Grid Trigger link.
- Click on the Create Event Grid subscription link.
The following screenshot highlights this process:
Figure 14.17 – Starting to edit the trigger of the Azure Function
We need to create a new event subscription to Event Grid. Execute...