Logic Apps - Event Grid Trigger permissions

Luciano Andrea 40 Reputation points
2024-04-11T08:09:41.0066667+00:00

Even if I see I have "Event Grid Contributor" role at Resource Group level, I cannot configure event grid trigger in my logic app workflow.

After selecting an item from "Resource Type" combo, the "Subscription" is empty.

If I copy and paste my "Subscription Id" in the combo and select "use as custom value" the combo "Resource Type" gives me this error:

The client 'xxxxx' with object id 'xxxx' does not have authorization to perform action 'Microsoft.Storage/StorageAccounts/read' over scope '/subscriptions/xxxx' or the scope is invalid. If access was recently granted, please refresh your credentials.

I have both "Storage Account Contributor" and "Storage Blob Data Contributor" role.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,136 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
381 questions
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshukatara-6769 9,195 Reputation points
    2024-04-11T08:47:56.7866667+00:00

    Hi, Welcome to MS Q&A,

    I think if you're employing authentication methods given below on image during the creation of an Event Grid trigger, it's essential to ensure that the object's identity possesses, at minimum, read access over the subscription you're specifying as a custom value. In you case if its your ID so make sure you have at least reader access over subscription and as you mentioned you have both"Storage Account Contributor" and "Storage Blob Data Contributor" role, so make it at subscription level if it is not at this level

    Kindly check and let us know if you have any further questions , Thanks!User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.