The June update for Power Platform Command Line (CLI) introduces new features to enhance the developer experience. Among the new capabilities is the ability to list and update the settings of an environment. This is especially beneficial for those who deploy applications across various environments, ensuring that necessary features are enabled before deployment.
This is a summary of the new update for the Power Platform Command Line Interface (CLI) released by Microsoft.
Environment Settings List and Update: These are to ensure that the correct features are enabled before deployment of applications. New commands are introduced:
pac org list-settings: To list all environment attributes. More info
pac org update-settings: To update the value of the property. More info
Smarter Solution Import: The pac solution import command now has a new parameter --skip-lower-version which allows to skip importing versions of solutions that are equal to or lower than the version in the target environment.
Support for AI builder: Power Platform CLI now supports AI builder models for building FetchXML queries. The command pac copilot list can be used to list all the AI models available in the environment.
Service Principal Creation Update: The command pac admin create-service-principalhas been updated to add the created service principal as an Application User with the "System Administrator" role to the dataverse environment.
Assign User Update: The pac admin assign-user command will no longer error out on duplicate group entry.
Model Builder Updates: The command pac modelbuilder build now supports generating classes for Virtual Attributes using the parameter --emitvirtualattributes. A new parameter --emitentityetc has been added to allow for less noisy diff when putting the classes in source control repositories.
Support for Managed Environment: A new subcommand set-governance-config has been added. This is currently behind a feature flag.
PCF Control Updates: The issues with the pac pcf push command when CLI is installed using dotnet tools have been fixed. Also, the solution customization prefix during pcf push is now optional.
Feedback for these updates can be provided on the Microsoft Power Platform Build Tools Discussions page.
This update emphasizes the continuous improvement and expansion of the Power Platform CLI's capabilities to meet developers' evolving needs. The latest features - listing and updating environment settings - are specially designed to streamline the deployment process across different environments and ensure desired features are activated prior to deployment. The update signifies Microsoft's dedication to fostering an efficient, user-friendly developing ecosystem through consistent upgrades.
The Power Platform Command Line June Update brings new capabilities to help improve the developer experience with Power Platform. These capabilities include the ability to list and update the settings of an environment. This can be done using the `pac org list-settings` and `pac org update-settings` commands. These commands allow you to list and update the value of environment attributes. This is especially useful when deploying applications to various environments, as you can make sure the necessary features are enabled before deployment. For example, before deploying a solution with a PCF control, you can use the commands to make sure the PCF Control feature is enabled in the target environment.
Power Platform CLI, Power Platform Command Line, PCF Controls, pac org list-settings, pac org update-settings