Logic Apps Event Grid Resource Gotcha

post

Overview

The purpose of this article is to highlight an issue with the Logic App trigger for Event Grid which caused several hours of wasted time and effort.

Logic App Trigger

When using the Event Grid Resource trigger there is a little button to switch the Event Type: Event Type Pressing this button provides you a simple text box to type in the name of the event, if you use this approach, when you save the Logic App it will likely fail when registering the subscription in the Event Grid Topic: Event Grid Failure The error message is so undescriptive, it literally just indicates the error code is "BadRequest" and the fact "The request is invalid". It left me stumpted for many an hour but in the end, all it takes is to switch the Event Type back to the array version in the Logic App Trigger... facepalm

Summary

Not much more to add other than another facepalm... ;)

Tim Hills

Tim Hills

Tim has been working in solution delivery for over 15 years and has really exceled in the industry. He has been fortunate enough to work with some high-profile clients and challenging projects which has positioned him well for turning business requirements into reality.

Registered office

Address: Arceau Solutions Ltd, Dane John Works, Gordon Rd, Canterbury, CT1 3PP

Telephone: 0208 191 7030