I have a flow with email activity. The email is using Office 365 Outlook.
The email activity fails with below message
"Unable to process template language expressions in action 'Send_an_email' inputs at line '1' and column '1970': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365']['connectionId']' cannot be evaluated because property 'shared_office365' doesn't exist, available properties are 'shared_sharepointonline, shared_gmail'. Please see https://aka.ms/logicexpressions for usage details.'."
I have tried other email activities, like gmail, outlook etc. All email activities fail with same message. What is going on?

Report
All responses (
Answers (