pnp / pnp/cli-microsoft365

New command for pp solution flow add

Open
#7,282 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Usage

m365 pp solution flow add [options]

Description

to add flows to the solution

Options
Option Description
-e, --environmentName <environmentName> The name of the environment. Required.
--solutionId <solutionId> The ID of the solution. Specify either solutionId or solutionName but not both.
--solutionName <solutionName> The unique name of the solution. Specify either solutionId or solutionName but not both.
--flowId <flowId> The ID of the cloud flow. Specify either flowId or flowName but not both.
--flowName <flowName> The display name of the cloud flow. Specify either flowId or flowName but not both.
Examples

Adds a cloud flow to a solution by specifying their IDs.

m365 pp solution flow add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionId "00000001-0000-0000-0001-00000000009b" --flowId "2f1c9c8f-8f3e-4f1c-bd3f-8f4e2b8f3c1a"

Adds a cloud flow to a solution by specifying their names.

m365 pp solution flow add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionName "MySolution" --flowName "Employee Onboarding Flow"
Default properties
Additional Info

Permission
This command requires access to the Power Platform environment and permissions to customize solutions and manage cloud flows.
Response
The command won't return a response on success.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the m365 pp solution flow add command entry point and inspect how related Power Platform solution commands handle option validation and cloud-flow operations. Implement the documented environment, solution, and flow ID/name options, enforcing the mutually exclusive pairs, then verify that a successful add produces no response as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.