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 / Error Sending email fr...
Power Automate
Answered

Error Sending email from Outlook 0365 "Property 'shared_office365_2' doesn't exist"

(0) ShareShare
ReportReport
Posted on by 10

We really scratched our heads on this one!!  We have a very complex flow with many switches which send email approvals from our PowerApp.  It was working great for a while.  After our latest round of change, it started failing only sometimes, and the error that was thrown: 

Unable to process template language expressions in action 'New_Reminder_Service_Offer_to_SVP_Approval' inputs at line '1' and column '1943': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365_2']['connectionId']' cannot be evaluated because property 'shared_office365_2' doesn't exist, available properties are 'shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.

We searched and could NOT find what was causing this!  FINALLY WE LEARNED, through a thought of hard work and stupefied brain power, about a quirk.  We had multiple authors working in the flows (one at a time so we did not step over each other).  It turns out, the Connector for the Primary Author was the only one that would connect to Outlook (only the primary connector could send emails from Outlook). 

FIX:  For Each EMAIL SEND connector, Click the Elipsis in the header of the connector and switch the connection to the email of the PRIMARY AUTHOR.  

Note:  Exporting the Flow and Re-importing to another environment strips the muliple connections and only the Outlook Connection for the current user will remain. (for migrating to Production).  

Categories:
I have the same question (0)
  • Verified answer
    braneyBI2 Profile Picture
    10 on at

    See the red Note for the solution!  Smiley Happy

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard