Here’s a solution using Invoke Code activity.
Inspired by these two posts on stackoverflow which deal with this issue in C#
1. Ensure you have the package System.IO.Compression.ZipFile installed - https://www.nuget.org/packages/System.IO.Compression.ZipFile/
2. Use an invoke code with the following code
Dim extractPath As String
Using zip As ZipArchive = ZipFile.Open(zipFilePath, ZipArchiveMode.Update)
For Each entry As ZipArchiveEntry In zip.Entries
extractPath = outFilePath + String.Join("_", entry.Name.Split(Path.GetInvalidFileNameChars()))
This basically opens is file in the zip, and extracts it with a clean file name.
I have two arguments, zipFilePath (the zip file to unzip) & outFilePath (the folder to put the contents)
3. Import System.IO.Compression Namespace
extractZip.xaml (6.5 KB)