Skip to content

pp solution remove

Removes the specified solution in the specified Power Platform environment

Usage

m365 pp solution remove [options]

Options

-e, --environment <environment>
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.
--confirm
Don't prompt for confirmation
-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 full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Removes the specified solution with a specific name, owned by the currently signed-in user

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name"

Removes the specified solution owned by the currently signed-in user based on the name parameter without confirmation

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --confirm

Removes the specified solution owned by another user based on the name parameter

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --asAdmin

Removes the specified solution owned by another user based on the name parameter without confirmation

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "solution Name" --asAdmin --confirm

Removes the specified solution owned by the currently signed-in user based on the id parameter

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b

Removes the specified solution owned by the currently signed-in user based on the id parameter without confirmation

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --confirm

Removes the specified solution owned by another user based on the id parameter

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin

Removes the specified solution owned by another user based on the id parameter without confirmation

m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin --confirm

Response

The command won't return a response on success.