简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM