Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Venkatbvk7
Regular Visitor

"Dataformat.error:File contains corrupted data" error while importing Outlook excel attachment in Da

Hi,
I am having an issue with importing an excel sheet from mail attachment in dataflows. The step in the dataflow where the binary file in the AttachmentContent (excel) is imported throws up the error “Dataformat.error:File contains corrupted data”. The excel attachment is not password protected and doesn’t have any special characters. I copied the m code from dataflow and replicated it in the power query editor of PBI desktop and the excel file content is imported without any issues or errors. The error only crops up in the dataflow. I appreciate any help or suggestion to troubleshoot/fix this. Thank you!
Since my question is related to production data, I am not able to attach the file here.

1 REPLY 1
grace_wanou
Regular Visitor

Hi There,

Have you resolved this issue? Same thing came up to me so I wanted to see if you have found the solution. 🙂 
Cheers,
G

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.