Failed to subscribe to storage events for event trigger. Which permission is missing?
Published Nov 03 2020 07:19 AM 9,851 Views
Microsoft

A quick post about the error and fix. The customer tried to create a trigger activation and it fails.

Error:

Trigger activation failed for Trigger 1.
Failed to subscribe to storage events for event trigger: Trigger 1

 

The customer had the correct permissions he was the owner of the workspace as the matter of fact he was admin.

He also had a storage blob data contributor. So it seems everything was in place. Even though I checked the logs regards this failure and I saw there was a permission error.

 

Here it goes why:

https://docs.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger

 

"The integration described in this article depends on Azure Event Grid. Make sure that your subscription is registered with the Event Grid resource provider. For more info, see Resource providers and types. You must be able to do the Microsoft.EventGrid/eventSubscriptions/* action. This action is part of the EventGrid EventSubscription Contributor built-in role."

Options are:

  • Owner permission on the storage Or
  • Eventgrid RBAC subscription contributor and reader on the Subscription 

permission_EventGrid.PNG

 

Note you may need to register the following: Microsoft.DataFactory 

Thanks to Pieter Vanhove for the contribution. 

 

That is it!

Liliam UK Engineer

 

 

 

1 Comment
Version history
Last update:
‎Dec 29 2020 06:54 AM
Updated by: