web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Email activity fails
Power Automate
Unanswered

Flow Email activity fails

(0) ShareShare
ReportReport
Posted on by 9

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?flowemailfails.PNG

Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @deeps2210 , thanks for your post in the Flow Community.

     

    The issue you describe is more of a blip or a bug and I have seen it remedied in a few ways.

     

    1) Export your Flow to zip and re-import to your dashboard

    2) Recrete your connections to the connector

    3) as your Flow is small, I'd say can it be rebuilt as new?

     

    It is likely point 1, or 3 will definitely fix this and possibly, point 2 will also.

     

    If you have found my post helpful, please mark thumbs up.

     

    Any other questions, just ask.

     

    Thanks, Alan

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard