cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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?
3 REPLIES 3
Highlighted
Community Support
Community Support

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,

Alice

Highlighted

 

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": "api.connectorp.svc.ms"

 

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.

 

 

 

Highlighted
Regular Visitor

Same issue.

 

Error
Action 'Extract_archive_to_folder' failed
Error Details
Unable to extract contents of file '/LET.rar'.
 

Helpful resources

Announcements
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
Top Kudoed Authors
Users online (8,841)