Saving Logic App After Applying Email Connector

Noah Holliday 1 Reputation point
2021-10-15T15:06:12.767+00:00

Hello All,

I am very new to Logic Apps, however a frequent user of Power Automate. To start I just wanted to make a basic logic app that sent me an email that's based off of a payload sent from a ADF pipeline. I am able to construct my workflow in the Logic App and save it perfectly fine. However, when I add in the email connector, the workflow refuses to save, and I don't receive an error as to why. It just appears as though its saving then reverts back to the save option.

Here's the json for the email task I am trying to save.

{

"inputs": {

   "host": {

       "connection": {

           "referenceName": "office365"

       }

   },

   "method": "post",

   "body": {

       "To": "@triggerBody()?['EmailTo']",

       "Subject": "@triggerBody()?['Subject']",

       "Body": "<p>@{triggerBody()?['ErrorMessage']}</p>"

   },

   "path": "/v2/Mail"

}

}

I have ensured that it is correctly identifying my email as the connection and that I have the appropriate contributor status in the resource group to create this task in the workflow.

If anyone could give me any direction it would be greatly appreciated.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,842 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,532 questions
{count} votes