pp card clone
Clones a specific Microsoft Power Platform card in the specified Power Platform environment
Usage
pp card clone [options]
Options
-e, --environment <environment>The name of the environment.
--newName <newName>The name of the new card.
-i, --id [id]The id of the card. Specify either
idornamebut not both.-n, --name [name]The name of the card. Specify either
idornamebut not both.--asAdminRun 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 isfull.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Clones a specific card in a specific environment based on name.
m365 pp card clone --environment "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 --environment "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 --environment "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 --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card" --asAdmin
Response
- JSON
- Text
- CSV
- Markdown
{
"CardIdClone": "80cff342-ddf1-4633-aec1-6d3d131b29e0"
}
CardIdClone: 80cff342-ddf1-4633-aec1-6d3d131b29e0
CardIdClone
80cff342-ddf1-4633-aec1-6d3d131b29e0
# pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card"
Date: 9/1/2023
Property | Value
---------|-------
CardIdClone | 90460614-6ede-4231-8467-ce99a6359f45