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

Invalid dwg file created in OneDrive with Power Automate

Hello all,


I made a flow in Power Automate today to get the attachments from some emails that i receive daily and put it into a folder in OneDrive, until then ok, all working, but some of the files i receive in my emails are .dwg files and when i try to download this file and open it in AutoCAD or similar software i get a error message saying that the file is invalid. I think that is something with the way that the Power Automate saves the file in one drive, you guys know any workaround? Something that can help me to get this files without a problem.



Note: The file that i uploaded for test is a drawing that i have on my computer for a lot of time and it's working well, it's not a problem from the main file.

Dual Super User II
Dual Super User II

Hi @glawberc1 


Can you share a screenshot of the flow run history and expend the create file action to see what parameters were sent to onedrive?


Also, have you trued providing a static name along with the extension for file name in the create file action? 


Hope this helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,298)