The next component is the Azure Function app that contains several Azure functions. These functions perform validation, process messages, and contain logic to trigger the runbook.
A Validation Function is linked with the main event queue. When the Event Grid sends a message to the main queue, this function is automatically triggered.
A Retry Function is based on a timer trigger and will run to check for failed messages which were in the retry event queue waiting to be sent again.