Usage
m365 pp solution list [options]
Description
Lists Microsoft Power Platform solutions in the specified Power Platform environment.
Options
| Option |
Description |
-e, --environment <environment> |
The name of the environment for which to retrieve solutions. |
--asAdmin |
Run the command as admin and retrieve solutions for environments you do not have explicitly assigned permissions to. |
Examples
List solutions in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5.
m365 pp solution list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5
List solutions in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 as admin.
m365 pp solution list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
Additional Info
Should mimic endpoints defined in the m365 pp environment list and you can use the pac solution list for inspiration on the code https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/solution#pac-solution-list and exact endpoints. If dataverse is you can find logic defined in #3653
Since this is a list command we should specify the default properties to be returned in text mode. Suggest to use name (internal), version, publisher
Usage
m365 pp solution list [options]
Description
Lists Microsoft Power Platform solutions in the specified Power Platform environment.
Options
-e, --environment <environment>--asAdminExamples
List solutions in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5.
List solutions in the environment named Default-d87a7535-dd31-4437-bfe1-95340acd55c5 as admin.
Additional Info
Should mimic endpoints defined in the
m365 pp environment listand you can use thepac solution listfor inspiration on the code https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/solution#pac-solution-list and exact endpoints. If dataverse is you can find logic defined in #3653Since this is a list command we should specify the default properties to be returned in text mode. Suggest to use
name (internal), version, publisher