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

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
Community Support

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,


New Member

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


New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

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


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,532)