cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mschurmann
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?
4 REPLIES 4
v-yuazh-msft
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

 

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.

 

 

 

Yasaskaran
Regular Visitor

Same issue.

 

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

Some body could resolve it ??

I can not extract rar file only zip file

 

Helpful resources

Announcements
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.

Top Solution Authors
Users online (1,952)