pnp / pnp/cli-microsoft365

New Command pp solution app add

Open
#7,281 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 app add [options]

Description

Add apps 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.
--appId <appId> The ID of the app. Specify either appId or appName but not both.
--appName <appName> The display name of the app. Specify either appId or appName but not both.
--appType [appType] Type of the app. Allowed values: canvas, model-driven. Default canvas.
Examples

Adds a canvas app to a solution by specifying their IDs.

m365 pp solution app add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionId "00000001-0000-0000-0001-00000000009b" --appId "394378d7-c92d-4633-a7eb-0900179ee587" --appType canvas

Adds a canvas app to a solution by specifying their names.

m365 pp solution app add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionName "MySolution" --appName "My Canvas App" --appType canvas

Adds a model-driven app to a solution by specifying their IDs.

m365 pp solution app add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionId "00000001-0000-0000-0001-00000000009b" --appId "fbd9b245-6750-f111-a825-6045bdea66a1" --appType model-driven

Adds a model-driven app to a solution by specifying their names.

m365 pp solution app add --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --solutionName "MySolution" --appName "My Model-Driven App" --appType model-driven
Default properties

No response

Additional Info

Permissions
This command requires access to the Power Platform environment and permissions to customize solutions.
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 at the command entry point for m365 pp solution app add and compare the existing Power Platform solution and app commands. Verify the documented options, ID-or-name constraints, app types, and successful no-response behavior against the command tests or service interactions available in the repository.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.