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 / Add Sharepoint .pdf fi...
Power Automate
Unanswered

Add Sharepoint .pdf file as attachment to Outlook Email - Powerapp Trigger

(0) ShareShare
ReportReport
Posted on by

Based on a button in our power app, we want to send an email notification. This email needs to have a .pdf attachment. Currently, this attachment lives in our SharePoint Documents Library. Sometimes I can get the flow to work once or twice and then it quits. I tried changing it based on some other forum discussions, but now it's not working at all.

 

This is the full error message I am getting on this set up:

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

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Adding attachment.PNGAttachment Capture.PNGFailure.PNG

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

    Hi @Anonymous ,

     

    Basically, this problem is caused by the addition of actions contained in other connectors in the existing Flow, so similar problems may occur.

    Please try to export this Flow as a .zip file, and then re-import it as a new Flow. After configuring the connection, Flow can be used normally.

    In addition, if you are configuring Flow in the PowerApps portal, you may not be able to export the Flow. Please go to MS Flow portal to implement this operation.

    Hope it helps.

     

    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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard