'Azure logic apps 'o365 connector' action 'send approval email' returning null for property 'useremailaddress'. Why?

Azure logic apps 'o365 connector' action 'send approval email' returning null for property 'useremailaddress'. Why?

The Azure logic apps documentation for the 'office 365 outlook connector' shows that the 'ApprovalEmailResponse' object returns 'SelectedOption' and 'UserEmailAddress'. I get the correct value back for 'SelectedOption' but 'UserEmailAddress' always returns 'null'.

https://docs.microsoft.com/en-us/connectors/office365/#approvalemailresponse

How do I get the --> email address <-- of the user that selects 'Approve' or 'Reject' buttons in the email? If an email is forwarded to another person I would like to know who (email address) clicked approve or reject.

Setup

RESPONSE REQUEST IN OUTLOOK

AFTER RESPONSE HAS BEEN RECORDED

***This is what I get if I use the recommended settings mentioned in the replies below. For production we want to set "Use only HTML message" and "Show confirmation dialog" both set to "yes".



Solution 1:[1]

After reproducing from our end, we understood that the messages which are recorded as HTML messages aren't capturing all the responses. For this, Make sure you have the below parameters set Hide HTML message to 'yes'.

enter image description here

RESPONSE REQUEST IN OUTLOOK

enter image description here

AFTER RESPONSE HAS BEEN RECORDED

enter image description here

UPDATED ANSWER

Logic App outlook connector:

enter image description here

result:

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1