Skip to main content

pp card clone

Clones a specific Microsoft Power Platform card in the specified Power Platform environment

Usage

m365 pp card clone [options]

Options

-e, --environmentName <environmentName>

The name of the environment.

--newName <newName>

The name of the new card.

-i, --id [id]

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

-n, --name [name]

The name of the card. 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

Clones a specific card in a specific environment based on name.

m365 pp card clone --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card" --newName "CLI 365 new Card"

Clones a specific card in a specific environment based on name as admin.

m365 pp card clone --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --name "CLI 365 Card" --newName "CLI 365 new Card" --asAdmin 

Clones a specific card in a specific environment based on id.

m365 pp card clone --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card"

Clones a specific card in a specific environment based on id as admin.

m365 pp card clone --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card" --asAdmin

Response

{
"CardIdClone": "80cff342-ddf1-4633-aec1-6d3d131b29e0"
}
CTRL + M