While exporting a managed solution from the Power Apps maker portal , the browser blocked the download with a Virus detected warning.

Here is what caused it in my case, and the PAC CLI workaround that got the export through.
Possible Reason:
- Solution exports that include a code app package the Vite-built JS bundle inside the zip.
- Edge SmartScreen flags minified JavaScript inside a zip as suspicious and blocks the download.
- The file is not actually infected.
The workaround: export via PAC CLI
The PAC CLI writes the solution zip directly to disk and never goes through the browser download scanner.
- Authenticate PAC CLI to the target environment (skip if already authenticated):
pac auth create --environment <environment-id-or-url>
- Export the solution as managed using pac solution export
pac solution export --path .\HTMLFileApp_1_0_0_4_managed.zip --name HTMLFileApp --managed

🙂



Leave a Reply