add_live_flow_to_solution
Migrate a non-solution Power Automate flow into a solution via the admin migrateFlows API. If the flow is already part of a solution, returns an error message without attempting migration. solutionId is optional — omit to migrate into the default solution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowName | Yes | Name (ID) of the flow to migrate into the solution. | |
| solutionId | No | Target solution ID (Dataverse solutionid GUID). Omit for the default solution. Discover IDs via get_live_dynamic_options on shared_commondataserviceforapps/ListRecords with entityName "solutions" (value-path solutionid, value-title friendlyname); needs a Dataverse connection in the env. | |
| environmentName | Yes | Name of the Power Platform environment. |