2

I have to create a Logic App using the Event Grid, so whenever a new file is created/uploaded in our General Purpose V2 Storage Account it should post a message in slack. This is how it currently looks like.

enter image description here

However, once one file is created/uploaded nothing shows up in slack. There aren't any runs in the "Runs history" and trying to press the button to "Run Trigger" causes the this error.

enter image description here

I also tried to create the Grid Topic and use the Event Grid Subscription for it, yet I got the same error.

Does anyone knows how to solve this problem?

George Chen
  • 13,703
  • 2
  • 11
  • 26
Spectrum
  • 41
  • 6

2 Answers2

1

There is no problem with your trigger from your picture. There aren't any runs in the Runs history, this means your trigger is not triggered.

Note:When a resource event occurs this trigger could only be triggered by the blob file modification including creating blob and renaming. If your action is the container modification, it won't trigger it. And you could check the See trigger history.

And about your trigger error Failed to start a logic app run, this is because you run the trigger in the portal, the expression @triggerBody() will be null it won't trigger the flow.

Then I test with different storage account and different logic app ,all of them could be triggered.

enter image description here

Hope this could help you, if you still have other questions,please let me know.

Community
  • 1
  • 1
George Chen
  • 13,703
  • 2
  • 11
  • 26
  • Thank you for the answer. However, it wasn't necessary to try those. Funny enough is that I kept trying to solve this problem for one week before asking for help here. Yet when I woke up today to try again, it was working just fine. I have no idea how it was fixed. Maybe it was an issue on Microsoft side? – Spectrum Feb 19 '19 at 15:15
  • @Spectrum , if this could help you , you could mark it as the answer.Thanks! If this issue come again or you think it's azure bug you could go to feedback to the official [site](https://feedback.azure.com/forums/34192--general-feedback). – George Chen Feb 20 '19 at 07:54
-1

Register EventGrid as a Resource Provider in your Subscription.

  • 1
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 18 '22 at 01:45