Skip to main content

CLI Reference

The Power Platform Developer Suite CLI (ppds) provides an interactive terminal interface for Power Platform development tasks.

Usage

Running ppds without arguments launches the interactive TUI (Text User Interface):

ppds

The TUI provides guided workflows for:

  • Authentication and profile management
  • Data export and import
  • Environment discovery

Commands

CommandDescription
authManage authentication and connections
solutionSolution management operations
entityDataverse entity operations
pluginPlugin registration and management
webresourceWeb resource operations
dataData import/export operations

Global Options

OptionDescription
--help, -hDisplay help information
--version, -vDisplay version information
--verboseEnable verbose output
--config <path>Specify configuration file path
--environment <url>Target environment URL

Authentication Commands

ppds auth login

Authenticate with a Power Platform environment.

ppds auth login [options]
OptionDescription
--environment <url>Environment URL
--client-id <id>Azure AD application ID
--client-secret <secret>Application secret
--tenant-id <id>Azure AD tenant ID
--use-envUse environment variables

ppds auth logout

Clear cached credentials.

ppds auth logout

ppds auth status

Display current authentication status.

ppds auth status

Solution Commands

ppds solution list

List solutions in the connected environment.

ppds solution list [options]
OptionDescription
--managedInclude managed solutions
--filter <name>Filter by solution name
--format <json|table>Output format (default: table)

ppds solution export

Export a solution.

ppds solution export <solution-name> [options]
OptionDescription
--output <path>Output file path
--managedExport as managed
--include-versionInclude version in filename

ppds solution import

Import a solution.

ppds solution import <file> [options]
OptionDescription
--publishPublish after import
--overwriteOverwrite unmanaged customizations
--asyncImport asynchronously

Entity Commands

ppds entity list

List entities in the environment.

ppds entity list [options]

ppds entity describe

Get entity metadata.

ppds entity describe <entity-name>

Examples

Export a solution

ppds solution export MySolution --output ./solutions/MySolution.zip

Import and publish

ppds solution import ./solutions/MySolution.zip --publish

List custom entities

ppds entity list --filter "new_*"

Exit Codes

CodeMeaning
0Success
1General error
2Authentication error
3Connection error
4Validation error

Configuration File

Create a ppds.json configuration file:

{
"defaultEnvironment": "https://yourorg.crm.dynamics.com",
"verbose": false,
"timeout": 300
}

Next Steps