import_solution_async
Preview and submit the first import of an unmanaged solution ZIP into the configured Dynamics 365 environment; requires planHash and allow_unprotected_write=true, returns importJobId for status.
Instructions
Preview first import of an ordinary unmanaged ZIP into the configured environment. Execute with planHash and allow_unprotected_write=true. Same solution-name updates, managed/patch/upgrade imports are blocked. First import can change shared unmanaged components. Fixed overwrite overlay/workflow activation/dependency skip/holding/upgrade flags false; no environment overrides or separate publish. Submits once using ImportSolutionAsync; accepted is not completed. Unknown outcomes retain a client-assigned importJobId for manual status checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Default true. Execution requires a current preview planHash. | |
| dry_run | No | Default true. Execution requires a current preview planHash. | |
| filePath | No | Absolute local file path. ZIPs are read without extraction or execution. | |
| file_path | No | Absolute local file path. ZIPs are read without extraction or execution. | |
| expectedHash | No | ||
| contentBase64 | No | Canonical base64; ZIP bytes at most 32 MiB. Supply exactly one input source. | |
| expected_hash | No | ||
| content_base64 | No | Canonical base64; ZIP bytes at most 32 MiB. Supply exactly one input source. | |
| allowUnprotectedWrite | No | Explicitly accept the native import concurrency window and shared unmanaged component changes. | |
| allow_unprotected_write | No | Explicitly accept the native import concurrency window and shared unmanaged component changes. |