Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Broken Files: Outlook Attachment Export to Sharepoint Document Library

(0) ShareShare
ReportReport
Posted on by 15

Hi, 

 

Apologies first as I'm new to PA. Creating a flow that when email in a folder is flagged, it creates a Planner task and populate email contents and the attachment(through creating file in SharePoint then update task detail with link). But my attachments just can't upload in the correct format(PDF, JPEG, PNG). The SP file created would say the correct name but can never be opened.  Many thanks in advance. 

 

 

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Broken Files: Outlook Attachment Export to Sharepoint Document Library

    Hi @Nash_Chang,

     

    You should add a Get attachments action to get the Content bytes, then use the Content bytes append into File content field to create file:

    Screenshot 2020-10-29 101418.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Nash_Chang Profile Picture
    15 on at
    Re: Broken Files: Outlook Attachment Export to Sharepoint Document Library

    Here are the screenshot of the currently not working flow. The last picture is how it looks in my SharePoint, and this is a test for an email with 1 JPEG file. 

     

    Nash_Chang_0-1603896123815.png

     

    Nash_Chang_1-1603896191927.png

    Nash_Chang_2-1603896224562.png

    Nash_Chang_3-1603896278434.png

    Nash_Chang_4-1603896327723.png

    Nash_Chang_5-1603896479236.png

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow