Search code examples
azurekey-valueazure-logic-appsazure-app-configuration

Unable to run Logic App on App configuration event


I want to implement LogicApp, to trigger build every time, when someone changes key-value pairs in App Configuration. In order to do this, I've created a Logic app to trigger, when resource event occurs:

enter image description here

But, when I change something in App Configuration or manually trying to run Logic App, it fires an error:

enter image description here

InvalidTemplate
The template language expression evaluation failed: 'The execution of template trigger 'When_a_resource_event_occurs' failed: the result of the evaluation of 'splitOn' expression '@triggerBody()' is of type 'Null'. The result must be a valid array.'.

Can anyone hint me, what is wrong in Logic App configuration?


Solution

  • I test in my site and it works well. As the When a resource event occurs triggered when an Azure Event Grid subscription fires an event, so you do not need set Split On.

    enter image description here

    The Logic App is same as you and here is the snapshot of result.

    enter image description here