all Technical posts

Logic Apps Event Grid Trigger Not Firing

Event Grid allows to build reactive applications, based on out-of-the-box events from within the Azure ecosystem. Logic Apps has native support for Event Grid, but lately I've encountered an issue that I want to share with you.


I’ve created a new Logic App from scratch and configured the When a resource event occurs trigger.  This trigger is listening for any resource event within a specific resource group.

First, I wanted to test if the Logic App fired, to validate the trigger information and to fine-tune the filters.  For this I created a new resource, but the Logic App didn’t fire.


My first guess was that something was wrong with the registration of the trigger in Azure Event Grid.  However, the trigger history showed a green status:

When I looked at the details of the successful trigger registration, I noticed that the provisioningState was Creating.  So probably I was dealing with an async registration and something went wrong in the background task.

To further investigate, I consulted the Activity Log of the resource group.  There I noticed a failed Write Event Subscription.

In the details of this failed activity, I found the following exception:  The Microsoft.EventGrid resource provider is not registered in subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. To resolve this, register the provider in the subscription and retry the operation.


In order to solve the issue, I navigated to the Resource Providers blade of my subscription.  Indeed, it showed that the Microsoft.EventGrid provider was not registered.

I clicked on the Register command and after a while, the provider was successfully registered.

I disabled and re-enabled the Logic App again, to ensure that the trigger got registered again.  After this intervention, the Logic App fires based upon each resource group event!


When a Logic App is not firing, it’s good to have a look at the trigger history and its details.  The Activity Log is always very helpful to further troubleshoot.

Subscribe to our RSS feed

Let's talk, what's your first name?

Press Enter

Press Enter

Hi , what's on your mind?

Press Enter

Great! Leave your email and we'll be in touch
Thanks, we’ll be in touch soon!