Set up Event Grid to react to Blob Creation
Cipher Coffee wants to automate downstream actions whenever new files are added to Blob Storage. You will configure Azure Event Grid to emit a notification on each blob creation and route it to a Storage Queue for processing. You will create a destination queue, subscribe the Storage account to the Blob Created event, upload a test blob, and verify that an event message appears in the queue.
This exercise is part of the course
Develop for Azure Storage
Exercise instructions
In your Storage account, navigate to Data storage, then select Queues and create a queue named "blob-events".,Go to Events and create a new Event Subscription named "blob-created-to-queue" with System Topic Name "storage-events-topic" that routes Blob Created events to the "blob-events" queue using Storage Queues as the endpoint type.,Create an "images" container in Containers and upload any test file to trigger the event.,Return to the "blob-events" queue and use Peek messages to confirm the event notification was delivered.


Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise