Saving Logic App After Applying Email Connector
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.