Skip to content

New command: m365 pp solution publish #3805

@appieschot

Description

@appieschot

Usage

m365 pp solution publish [options]

Description

Publishes the specified solution

Options

Option Description
-n, --name <name> The name of the solution
-e, --environment <environment> The name of the environment
--asAdmin Run as admin for environments you are not a member of
--wait Wait for the job to complete

Examples

Publishes ContosoDemo solution in the given environment and wait for result

m365 pp solution publish -n "ContosoDemo" -e "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --wait

Publishes ContosoDemo solution in the given environment without waiting for a result

m365 pp solution publish -name "ContosoDemo" -environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"

Additional Info

Look at the https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/solution#pac-solution-publish for code snippet and URL's

You can find inspiration for the --wait command in the m365 spo site rename implementation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions