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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Send Email Error

(0) ShareShare
ReportReport
Posted on by 3

I am recieving this error in a flow where i am trying to send an email. This flow was able to send an email a few hours ago and now it wont send any emails anywhere in the flow, even after some testing.

 

InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_2' inputs at line '1' and column '1966': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365_1']['connectionId']' cannot be evaluated because property 'shared_office365_1' doesn't exist, available properties are 'shared_sharepointonline'. Please see https://aka.ms/logicexpressions for usage details.'.
 
Anyone know whats up with this? Is this something wrong that I need to fix or is it a microsoft-side issue?
Categories:
I have the same question (0)
  • AlanPs1 Profile Picture
    2,471 on at

    Hi @SamtecBrandonY .

    We'd really need more information on this. Pictures of your Flow and your connections please.

    What I take from the error is this:

    'shared_office365_1' doesn't exist

    Is 'shared_office365_1' the name of an account you are using as a connection perhaps, does it exist?

    Can you recreate the connection to the connector if this is the issue ... please post pictures so we can best assist.

     

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

    Any other questions, just ask.

    Thanks, Alan

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @SamtecBrandonY ,

     

    I guess you have this error after adding a SharePoint-related action based on the original Flow configuration.

    You could export the Flow first and then re-import it as a new Flow so that the problem can be solved.

    Please take a try and feel free let me know if issue still exists.

     

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard