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 Platform Community / Forums / Power Automate / Email attechment to a ...
Power Automate
Unanswered

Email attechment to a filefolder on Onedrive with Automate

(0) ShareShare
ReportReport
Posted on by 6

Hi People, I have a small problem : The attachment( for instant a pdf-file) off my email is going to a filefolder on my Onedrive ( Simpel made a Sjablone)   The Automate works, But i cant open the file, Its says: maybe youre file is corrupted or not correct encoded?      Anybody suggestions, or solution?

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Casparkelder 

     

    could you share the flow design ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Casparkelder Profile Picture
    6 on at

    Here a screenshot,  The problem is not the flow<because that is working okay. The original file is bigger in the email than its on my onedrive when it is place there

     

     

    screenshot flow.png
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Casparkelder 

     

    I did not see your flow design correctly, have you use get attachment action for retreiving attachment details?

    something like below

    Nived_Nambiar_0-1710080415610.png

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Casparkelder Profile Picture
    6 on at

    Hi,

     

    I try your workflow, still the same negative result>  Workflow is doing perfectly> When a email arrives in my Inbox then the Attachment is placed on the Onedrivemap.  But Office Automate is doing something with the file. I stil cann't open. It looks thats its corrupt

    When you look at the both files ( original in the email and the file that is placed in the map on Onedrive), You can see that the one in the Onedrivemap is less size 4Kb , 

    So my opinion is that Office is doing something wrong with the Encoding ?

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    what is size of attachment ?

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Casparkelder Profile Picture
    6 on at

    the original in the mail  is 104kb  <> In the Onedrive its 4Kb

    It doesnt matter how big the original is> every file will end up in 4Kb

     

    But I see several same issues on the internet,  Iam not the only one with this problem....

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

     

    i could see simmilar problems discussed in below links

    https://powerusers.microsoft.com/t5/General-Power-Automate/Issue-with-get-attachment-from-mail-create-excel-file-in/td-p/860585

     

    https://powerusers.microsoft.com/t5/Using-Flows/Problem-with-attachment-file-size-in-new-mail-that-create-file/m-p/6615/highlight/true

     

    Have you reffered this ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#2
Henil Profile Picture

Henil 128

#3
anirudhev Profile Picture

anirudhev 124

Last 30 days Overall leaderboard