Yanni Pattas
Yanni Pattas

Reputation: 25

No authorization for Azure Data Factory event trigger

I am creating an 'Azure event trigger' in my Azure Data Factory but I am getting the below error. I found other threads where they mention to check for role/access set to "Owner". This is the case, I am a bit lost trying to find the solution for this. Anyone faced this issue before or knows how to solve this?

The client *** with object id *** does not have authorization to perform action 'Microsoft.EventGrid/eventSubscriptions/write' over scope '/subscriptions/ZZZ/resourceGroups//providers/Microsoft.Storage/storageAccounts//providers/Microsoft.EventGrid/eventSubscriptions/****' or the scope is invalid. If access was recently granted, please refresh your credentials.

Thank you

Upvotes: 0

Views: 1323

Answers (1)

Utkarsh Pal
Utkarsh Pal

Reputation: 4544

You need any of following RBAC settings for storage event trigger:

  • Owner role to the storage account
  • Contributor role to the storage account
  • Microsoft.EventGrid/EventSubscriptions/Write permission to storage account /subscriptions/####/resourceGroups/####/providers/Microsoft.Storage/storageAccounts/storageAccountName

Source: Authorizing access to Event Grid resources, Create a trigger that runs a pipeline in response to a storage event

Upvotes: 0

Related Questions