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 Automate
Unanswered

Create a File

(0) ShareShare
ReportReport
Posted on by 2

Hello all, I have created a flow that when an email arrives with an attachment, that a file (the sent attachment) is created in a shared folder.  My issue is that, once the file is created in the folder it will not open.  The error is depicted below (last image).

Flow 

CHANEYLWC_1-1678299904666.png

 

CHANEYLWC_0-1678299871822.png

Error

CHANEYLWC_2-1678299943120.png

 

Categories:
I have the same question (0)
  • DiegoRB Profile Picture
    32 on at

    Hi @CHANEYLWC 

    You must specify the file extension when you define the File Name.
    For example:

    [Attachment Name].xlsx

    Did I answer your question? Mark my post as a solution!
    If you liked my response, please consider giving it a thumbs up
  • CHANEYLWC Profile Picture
    2 on at

    Thanks, I am not sure if that is it.  Every time t test the the flow, the files download to the folder, but every time I try to open any format doc that is downloaded, it will not allow me to read and gives me error.

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

    Hi @CHANEYLWC 

     

    Set the include attachments in the trigger to yes.
    You need to add Get Attachment (V2), select the dynamic content Content Bytes returned by Get Attachment (V2) in the file content field of the Create file.
    And the dynamic content attachment name itself carries the file suffix, you don't need to add the suffix manually.

     

    vliweimsft_0-1678418860500.png

     

     

    vliweimsft_1-1678418860504.png

     

     

    Best Regards,

    Levi

     

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard