The task "Outlook.com: Send approval email" shows an error when the Approve or Reject button is clicked on
Severity
P3 - Medium (Minor functionality affected)
Describe the Bug with repro steps
I have two workflows which use the task "Outlook.com: Send approval email". I noticed that when the user clicks on any of the button in the email (approve or reject), an error message "Exception occurred while receiving response" appears. However, the workflow completes as expected. This raises concerns among the users but doesn't severely affect the application.
Expected behavior: the user sees a confirmation messages which doesn't mention any error. Actual behavior: the message "Exception occurred while receiving response" shows up.
The behavior is reproduceable by creating a simple workflow containing two tasks: a HTTP trigger and the task in question. Trigger the workflow then click on any button in the approval email. See the error.
A similar behavior is mentioned by someone else here.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you experiencing a regression?
No response
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"triggers": {
"When_an_HTTP_request_is_received": {
"type": "Request",
"kind": "Http",
"inputs": {
"method": "GET"
}
}
},
"actions": {
"Send_approval_email": {
"runAfter": {},
"type": "ApiConnectionWebhook",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['outlook']['connectionId']"
}
},
"body": {
"NotificationUrl": "@listCallbackUrl()",
"Message": {
"To": "[email protected]",
"Importance": "Normal",
"HideHTMLMessage": false,
"ShowHTMLConfirmationDialog": false,
"Subject": "Approval Request",
"Options": "Approve, Reject"
}
},
"path": "/approvalmail/$subscriptions"
}
}
},
"outputs": {},
"parameters": {
"$connections": {
"type": "Object",
"defaultValue": {}
}
}
},
"parameters": {
"$connections": {
"type": "Object",
"value": {
"outlook": {
"id": "/subscriptions/e7a6ae5c-578f-4799-92f5-c59ecf3f4a14/providers/Microsoft.Web/locations/northcentralus/managedApis/outlook",
"connectionId": "/subscriptions/e7a6ae5c-578f-4799-92f5-c59ecf3f4a14/resourceGroups/approval-test_group/providers/Microsoft.Web/connections/outlook",
"connectionName": "outlook"
}
}
}
}
}
Screenshots or Videos
Environment
not applicable
Additional context
No response