Parsing JSON array in Azure Logic App from base64 encoded string to use in For_each Parsing JSON array in Azure Logic App from base64 encoded string to use in For_each azure azure

Parsing JSON array in Azure Logic App from base64 encoded string to use in For_each


The issue here is that you are using string interpolation (where expressions are wrapped in @{ ... }) that evaluates to a string representation of the array. Hence evaluation of the 'foreach' expression fails.

You want the expression to be@json(decodeBase64(triggerBody()['ContentData']))