Skip to main content

pp solution list

Lists solutions in a given environment.

Usage

m365 pp solution list [options]

Options

-e, --environmentName <environmentName>

The name of the environment

--asAdmin

Run the command as admin for environments you do not have explicitly assigned permissions to.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

List all solutions in a specific environment

m365 pp solution list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"

List all solutions in a specific environment as Admin

m365 pp solution list --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin

Response

[
{
"solutionid": "00000001-0000-0000-0001-00000000009b",
"uniquename": "Crc00f1",
"version": "1.0.0.0",
"installedon": "2021-10-01T21:54:14Z",
"solutionpackageversion": null,
"friendlyname": "Common Data Services Default Solution",
"versionnumber": 860052,
"publisherid": {
"friendlyname": "CDS Default Publisher",
"publisherid": "00000001-0000-0000-0000-00000000005a"
}
}
]
CTRL + M