Microsoft Power Platform CLI :: Power Platform

What is Microsoft Power Platform CLI?

Why use Microsoft Power Platform CLI for portals development?

With portals support for Microsoft Power Platform CLI, you can now use offline-like capability for portals customization by making changes to the portals content.

And once all customizations or changes are saved, upload them to the portal. When you download portals content using Microsoft Power Platform CLI, the content is structured in YAML and HTML formats making it easy to customize, enabling a pro-development experience.

Here's a list of features and capabilities that portals benefits from with the support for
Microsoft Power Platform CLI:

Install Microsoft Power Platform CLI

Using Power Platform VS Code Extension

Follow these steps to install Microsoft Power Platform CLI using Visual Studio Code:

** Open Visual Studio Code.

** Select Extensions icon from the Activity panel. In the search bar, enter Power Platform.

** Select Install. Once the installation is finished, restart your Visual Studio Code to see the extension within the Terminal window.



Standalone Power Platform CLI

Ease of use

** To install standalone Power Platform CLI:

** Download and install Microsoft Power Platform CLI.

** To take advantage of all the latest capabilities, update Microsoft Power Platform CLI tooling to the latest version by using this command (not applicable for Power Platform VS Code Extension):

pac install latest
Note

·         Currently, Microsoft Power Platform CLI is supported only on Windows 10.

 

·         Power Platform Extension for VS Code is in public preview, and works on both   Windows 10 and macOS.

 

Common commands

This table lists some of the common commands used in the CLI.


COMMON COMMANDS

Command

Description

Admin

Commands for environment lifecycle features.

Auth

Commands to authenticate to Dataverse.

Canvas

Commands for working with canvas app source files.

Org

Commands for working with Dataverse environments.

Package

Commands for working with solution packages.

Paportal

Commands for working with Power Apps portals (Preview).

PCF

Commands for working with Power Apps component framework.

Plugin

Command to create a plug-in project.

Solution

Commands for working with Dataverse solution projects.

Telemetry

Manages the telemetry settings.

 

Tip

For the complete list of supported commands, run the pac command or pac <subcommand> - for example: pac solution.


Uninstall Microsoft Power Platform CLI

** To uninstall Microsoft Power Platform CLI tooling, run the MSI from here.

** To uninstall the Visual Studio Code extension, follow the same steps as installing the extension, except this time select the uninstall button.

** If you're a Private Preview participant and have an older version of CLI, follow these steps:

** To find out where Microsoft Power Platform CLI is installed, open a command prompt and enter where pac.

** Delete the PowerAppsCLI folder.

** Open the Environment Variables tool by running the command rundll32 sysdm.cpl,EditEnvironmentVariables in the command prompt.

** In the User variable for... section, double-click to select Path .

** Select the row containing the PowerAppsCLI path, and then select Delete on the right side.

** Select OK twice.

Comments

Popular posts from this blog

MS Teams :: Live components / Loop Component

Is it CDS, Microsoft Dataflex, Dataverse..?

SharePoint Sites, Group sites, and Teams Sites: What’s the Difference?