Showing results for 
Search instead for 
Did you mean: 
New Member

Flagged Mail Attachment to Sharepoint Online Document Library Corrupts Files



I have 2 flow about saving attachments from Office 365 Mail to Sharepoint Online Document Library.


First one ise working fine, it uses "Check SubFolder in Outlook if new mail arrives for each attachment copy attachment to Document Library in sharepoint.


Second flow copies documents but files are corrupt(can'not view and size is not correct, only name and file type is true).

The difference between two flow is, second flow uses "Flag Mail Trigger".


We are looking for an urgent solution.

Community Support
Community Support

Hi berkalpcelen,


According to your description, I create a flow using the trigger “Office 365 Outlook – When an email is flagged”.

When I flag an email to run the flow, the file will be saved to SharePoint library successfully.

I can check the files saved to the library without issue, no corruption on the files.

My flow is configured like below:

Could you show me your flow configuration to help reproduce this issue on my side?


Best regards,
Mabel Mao

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

Hello Again,


Sorry for the late reply.As you can see below is my trigger.


Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Users online (10,889)