Skip to main content

pp solution get

Gets a specific solution in a given environment.

Usage

m365 pp solution get [options]

Options

-e, --environmentName <environmentName>

The name of the environment.

-i --id [id]

The ID of the solution. Specify either id or name but not both.

-n, --name [name]

The unique name (not the display name) of the solution. Specify either id or name but not both.

--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

Gets a specific solution in a specific environment based on name

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

Gets a specific solution in a specific environment based on name as Admin

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

Gets a specific solution in a specific environment based on id

m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e"

Gets a specific solution in a specific environment based on id as Admin

m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e" --asAdmin

Response

{
"solutionid": "fd140aaf-4df4-11dd-bd17-0019b9312238",
"uniquename": "Default",
"version": "1.0",
"installedon": "2021-10-01T21:29:10Z",
"solutionpackageversion": null,
"friendlyname": "Default Solution",
"versionnumber": 860055,
"publisherid": {
"friendlyname": "Default Publisher for org6633049a",
"publisherid": "d21aab71-79e7-11dd-8874-00188b01e34f"
}
}
CTRL + M