pack_solution
Pack an unpacked solution folder into a solution zip locally via Power Platform CLI. Use dry-run to preview the plan, command, and warnings before executing with write permissions.
Instructions
Pack an unpacked solution folder into a solution zip (pac solution pack). Local only: nothing is sent to an environment. dry_run=true (default) returns the plan and command plus warnings (canvas data sources Studio would prune, empty DatabaseReferences). Default zip goes under /packs/. Executing needs allow_writes=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| dry_run | No | ||
| zip_path | No | ||
| overwrite | No | ||
| package_type | No | Unmanaged |