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 / File type changed afte...
Power Automate
Unanswered

File type changed after automated incoming email attachment to share point folder

(0) ShareShare
ReportReport
Posted on by

Hi

I have previously created flows that takes the attachment from an incoming email and moves it to a share drive folder using apply to each > create file. 

 

The files were successfully saved to the share drive folder but it reads "excel cannot open the file "....xlsm" because the file format of file extension is not valid. "

File Type.JPG


I can successfully open the xlsm file from the email attachment. but after the automate flow, I can't open the file from the share drive folder. 

File type 2.JPG

Any help much appreciated!

Learner

Categories:
I have the same question (0)
  • v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @LearnAutomate ,

     

     

    "Attachments" is an array of all attachments in email, so we should use "Get attachment" to 

    get name and content of each attachment firstly.

    vzhoqianmsft_0-1684389694538.png

     

     

     

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

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

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard