I cannot work out the correct syntax for using the display name of an item in a person column. I am sending emails following an Apply to Each and the following works in the To field: items('Apply_to_each')?['AssignedToEmail']
However in the body of the email I cannot get the display name of the recipient (eg. Hi John,) to show and have tried all of these different combinations:
items('Apply_to_each')?['AssignedTo/DisplayName']
items('Apply_to_each')?['AssignedToDisplayName']
items('Apply_to_each')?['AssignedTo/Name']
items('Apply_to_each')?['AssignedToName']
items('Apply_to_each')?['AssignedToAuthor']
What is the correct way to do this?