編輯

共用方式為


pac application

Commands for listing and installing available Dataverse applications from AppSource

Commands

Command Description
pac application install Installs Dataverse application to given environment.
pac application list List available Dataverse applications from AppSource

pac application install

Installs Dataverse application to given environment.

Examples

The following examples show the use of the pac application install command.

Install an application in a specified environment

This example installs the MSFT_EmployeeIdeas application in the specified environment.

pac application install --environment-id 00000000-0000-0000-0000-000000000000 --application-name MSFT_EmployeeIdeas

Install a list of applications in a JSON file in a specified environment

This example installs the applications in the JSON file c:\home\applicationslist.json in the specified environment.

pac application install --environment-id 00000000-0000-0000-0000-000000000000 --application-list c:\home\applicationslist.json

Optional Parameters for application install

--application-list -al

Location of the JSON file with list of the Dataverse applications from AppSource to be installed

--application-name -an

Unique name of the application to install to the target environment.

--environment -env

List available Dataverse applications for given environment (by ID or url); if not specified, list all applications in the tenant

pac application list

List available Dataverse applications from AppSource

Examples

The following examples show the use of the pac application list command.

Application List

This example lists all available applications in the specified environment.

pac application list --environment-id 00000000-0000-0000-0000-000000000000

Application List JSON Export

This example lists all available applications for the tenant you're connected to and saves it as a JSON file in the directory c:\home.

pac application list --output c:\home\applicationslist.json

Optional Parameters for application list

--environment -env

List available Dataverse applications for given environment (by ID or url); if not specified, list all applications in the tenant

--installState -s

Filter by application install state

Use one of these values:

  • NotInstalled
  • Installed
  • All

--output -o

Location of the JSON file to be created with list of the Dataverse applications from AppSource

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview