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.
Usage
m365 pp solution publish [options]
Description
Publishes the specified solution
Options
-n, --name <name>-e, --environment <environment>--asAdmin--waitExamples
Publishes ContosoDemo solution in the given environment and wait for result
Publishes ContosoDemo solution in the given environment without waiting for a result
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
--waitcommand in them365 spo site renameimplementation.