Create Blob Storage and Event Grid subscription to the Blob
This template creates an Azure Storage Account and then creates an Event Grid subscription to that storage account. To learn more about how to deploy the template, see the quickstart article.
You need a WebHook endpoint for receiving the events. If you have one, pass that URI as the endpoint
parameter. If you do not have an existing endpoint, the template in the prereqs folder deploys a web app that displays the event messages. Deploy this template to your subscription. Pass that URI in the format https://<your-site>/api/updates/
For more information, see Create a message endpoint.
Tags: eventgrid, Microsoft.Storage/storageAccounts, Microsoft.EventGrid/systemTopics, Microsoft.EventGrid/systemTopics/eventSubscriptions, Microsoft.Web/serverfarms, Microsoft.Web/sites, SystemAssigned, Microsoft.Web/sites/sourcecontrols