How do I fix this invalid template problem when using logic apps

Daya Sandhu 21 Reputation points
2021-05-18T13:26:28.937+00:00

![97488-image.png]1

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,476 Reputation points Microsoft Employee Moderator
    2021-05-18T19:04:28.443+00:00

    Hello @Daya Sandhu , (Posting this as answer due to character limit in comments section) I think the issue might be due to parameters passed in the "Create Blob" action item. Could you please validate if any of the parameters passed is not of type NULL? I did a sample run and it worked for me.

    97600-image.png

    Also could you please validate if the options mentioned below are selected in your new email trigger, if you are passing the attachments to blob storage.

    97655-image.png

    If this is not the issue. I could not decipher it from the screenshot provided, Could please let us know which connector you are using to trigger for new email arrived ? Is it Outlook Connector or Office 365 connector? I ask because "When a new email arrives" (V1) is deprecated for both the connectors and currently "When a new email arrives" (V2) and "When a new email arrives" (V3) are supported respectively, you can find additional details in links shared above.

    Additionally it will be helpful if you could provide us more details or screenshot on what logic you have applied inside the For Each loop to exactly troubleshoot the issue. Please let me know if there are any concerns. Thank you!

    0 comments No comments

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.