Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

Need to Extract a Compressed File with RAR extention

I'm attempting to write a flow that saves an email attachment with a RAR extension to OneDrive and extract it to a separate folder. The file is in a RAR format. The Extract Archive action fails. I've attempted to rename the file to .Zip and attempted to used the List Files in Folder action without success. In OneDrive online, I am able to click on the RAR file and it will display the details of the file. Does anyone have a tip for getting around this?
Community Support Team
Community Support Team

Re: Need to Extract a Compressed File with RAR extention

Hi @mschurmann,


Could you please share a screenshot of the configuration of your flow?

Have you take a try with "Extract archive to folder"action of OneDrive connector?

Please take a try with "Extract archive to folder"action to see if it could Extract Archive.


Best regards,


Level: Power Up

Re: Need to Extract a Compressed File with RAR extention


Hmm.  I can't seem to paste or insert an image into this message.  I'm using the Extract archive to folder action with the following parameters:

Source:  /Savy Inventory/17654-11-30.RAR

Destination Folder Path: /Savy Inventory/Boxes


Both source and destination exist on my OneDrive.This is my most ham-handed attempt.  I've also tried using the "Current item", "Id", and "Name" as the source parameter.  Here is the error I get:


"status": 400,
"message": "Unable to extract contents of file '/Savy Inventory/17654-11-30-18.rar'.",
"source": ""


It would seem that I am successfully selecting the file, but Flow can't extract a RAR.  Oddly, I can click on the link in OneDrive and it will show me the contents.  Windows 10 cannot extract a RAR either.  I have a third-party tool on my laptop called 7Zip.  I suppose I will have to write a PowerShell script to accomplish this.




Helpful resources


Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.


Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 467 members 4,532 guests
Please welcome our newest community members: