Microsoft.PowerApps.CLI
1.29.9
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.PowerApps.CLI --version 1.29.9
NuGet\Install-Package Microsoft.PowerApps.CLI -Version 1.29.9
<PackageReference Include="Microsoft.PowerApps.CLI" Version="1.29.9" />
paket add Microsoft.PowerApps.CLI --version 1.29.9
#r "nuget: Microsoft.PowerApps.CLI, 1.29.9"
// Install Microsoft.PowerApps.CLI as a Cake Addin #addin nuget:?package=Microsoft.PowerApps.CLI&version=1.29.9 // Install Microsoft.PowerApps.CLI as a Cake Tool #tool nuget:?package=Microsoft.PowerApps.CLI&version=1.29.9
What is Microsoft Power Platform CLI?
Microsoft PowerPlatform CLI is a simple, single-stop, developer command-line interface (CLI) for developing customizations and extensions for Microsoft PowerPlatform.
Learn more here.
Install
Easiest way to install is to use the dotnet tool install command.
dotnet tool install --global Microsoft.PowerApps.CLI.Tool
More ways to install can be found here.
Reference
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.36.3 | 14,562 | 10/31/2024 |
1.35.1 | 51,440 | 9/27/2024 |
1.34.4 | 63,906 | 8/22/2024 |
1.34.3 | 1,235 | 8/22/2024 |
1.33.5 | 53,244 | 7/10/2024 |
1.33.4 | 4,190 | 7/9/2024 |
1.33.3 | 1,205 | 7/8/2024 |
1.32.8 | 56,456 | 5/24/2024 |
1.32.7 | 11,547 | 5/16/2024 |
1.32.6 | 4,414 | 5/14/2024 |
1.32.5 | 3,694 | 5/13/2024 |
1.31.6 | 74,608 | 3/18/2024 |
1.31.3 | 4,814 | 3/14/2024 |
1.30.7 | 37,098 | 2/9/2024 |
1.30.6 | 18,719 | 2/1/2024 |
1.30.5 | 2,613 | 1/31/2024 |
1.30.4 | 5,018 | 1/28/2024 |
1.30.3 | 3,694 | 1/24/2024 |
1.29.11 | 63,741 | 11/30/2023 |
1.29.10 | 3,288 | 11/28/2023 |
1.29.9 | 1,689 | 11/28/2023 |
1.29.6 | 16,462 | 11/13/2023 |
1.28.3 | 51,744 | 10/19/2023 |
1.28.2 | 3,828 | 10/17/2023 |
1.27.6 | 38,889 | 9/20/2023 |
1.27.5 | 2,798 | 9/19/2023 |
1.26.6 | 24,312 | 8/28/2023 |
1.26.5 | 21,884 | 8/16/2023 |
1.25.5 | 26,278 | 7/22/2023 |
1.25.4 | 2,277 | 7/21/2023 |
1.25.3 | 3,714 | 7/20/2023 |
1.25.2 | 9,259 | 7/13/2023 |
1.24.3 | 44,920 | 6/15/2023 |
1.23.4 | 14,980 | 6/1/2023 |
1.23.3 | 20,812 | 5/15/2023 |
1.22.4 | 20,502 | 4/25/2023 |
1.22.3 | 4,902 | 4/21/2023 |
1.22.2 | 3,880 | 4/19/2023 |
1.21.13 | 32,903 | 3/14/2023 |
1.21.8 | 41,333 | 1/31/2023 |
1.21.5 | 34,943 | 12/21/2022 |
1.21.4 | 11,062 | 12/13/2022 |
1.20.3 | 26,148 | 11/17/2022 |
1.19.4 | 27,178 | 10/19/2022 |
1.19.3 | 10,518 | 10/10/2022 |
1.18.4 | 21,226 | 9/15/2022 |
1.17.5 | 30,257 | 8/13/2022 |
1.17.4 | 3,376 | 8/12/2022 |
1.16.6 | 38,902 | 6/23/2022 |
1.15.3 | 31,609 | 5/13/2022 |
1.14.4 | 12,371 | 4/27/2022 |
1.14.2 | 16,611 | 4/7/2022 |
1.13.6 | 6,595 | 3/30/2022 |
1.13.4 | 9,139 | 3/21/2022 |
1.12.2 | 23,822 | 2/17/2022 |
1.11.8 | 9,215 | 2/5/2022 |
1.11.7 | 3,414 | 2/3/2022 |
1.11.6 | 3,625 | 2/2/2022 |
1.11.4 | 4,453 | 1/28/2022 |
1.11.3 | 2,724 | 1/27/2022 |
1.10.4 | 111,264 | 12/10/2021 |
1.9.9 | 20,659 | 10/20/2021 |
1.9.8 | 6,806 | 9/28/2021 |
1.9.4 | 26,664 | 8/19/2021 |
1.8.6 | 8,410 | 7/28/2021 |
1.8.5 | 6,300 | 7/21/2021 |
1.7.4 | 13,410 | 6/28/2021 |
1.7.3 | 3,524 | 6/25/2021 |
1.7.2 | 4,848 | 6/17/2021 |
1.6.6 | 6,140 | 5/21/2021 |
1.6.5 | 3,850 | 5/14/2021 |
1.6.4 | 4,955 | 4/29/2021 |
1.5.5 | 7,377 | 3/2/2021 |
1.5.4 | 4,269 | 2/25/2021 |
1.5.3 | 4,836 | 2/11/2021 |
1.5.2 | 4,129 | 2/4/2021 |
1.4.4 | 7,211 | 11/5/2020 |
1.3.6 | 5,722 | 7/16/2020 |
1.3.3 | 2,009 | 6/16/2020 |
1.3.1 | 2,037 | 5/19/2020 |
1.2.6 | 2,107 | 4/16/2020 |
1.1.6 | 4,749 | 12/5/2019 |
1.0.6 | 3,240 | 9/25/2019 |
0.4.3 | 1,652 | 8/27/2019 |
0.3.4 | 1,486 | 7/30/2019 |
0.2.71 | 1,493 | 6/20/2019 |
0.2.59 | 3,483 | 5/22/2019 |
0.1.51 | 11,997 | 4/23/2019 |
Please make sure to update your Microsoft Power Platform CLI to the latest version and take advantage of all the latest capabilities by following https://aka.ms/PowerPlatformCLI.
If you are a new user please install the Power Platform CLI directly from here: https://aka.ms/PowerPlatformCLI
1.29.9:
auth
- Security improvements to the storage mechanism for the Token Cache
- Windows: no effective change; Token Cache is already stored via Windows Data Protection API for encryption at rest
- macOS: Token Cache is now stored within Keychain. This may lead to occasional OS prompts for PAC to access the Keychain
- Linux:
- For desktop environments with a Secret Service implementation (such as gnome-keyring or ksecretservice), the Token Cache is now stored there via libsecret.
- If libsecret or a Secret Service implementation is not installed or not available (such as an SSH session, headless, or without x11), the Token Cache remains in a plaintext file with user-only (chomd 600) permissions.
canvas download
- Added new --extract-to-directory parameter to extract the contents of the downloaded msapp file to a directory
power-fx
- Added pfx alias for power-fx command
- Added function list for Power Fx Repl
pcf push supports target environment
- Adds the --solution-unique-name argument (mutually exclusive with --publisher-prefix argument)
- The temporary solution (and the temporary publisher) is now deleted after import is successful.
- The publisher prefix from the target environment is used
data import
- returns nonzero exit code when import fails
solution sync
- Now supports long path names on Windows
admin create
- Added new --security-group-id parameter to specify the security group id for the environment as suggested by https://github.com/just-marc-stevenson
https://github.com/microsoft/powerplatform-build-tools/discussions/535
package deploy
- New --solution argument which adds the ability to pass a solution to pac package deploy, using PD to deploy the solution
This will allow for the deployment of solutions using the PD processor to support async, retry, timeout and other features
that PD uses to deliver a solution.
Misc
- Updated Microsoft.PowerPlatform.PackageGeneratorLib to 1.0.10
- Updated Microsoft.Identity.Client to 4.57.0
- Updated Microsoft.Graph to 5.32.0
1.28:
power-fx
- new repl command for read-eval-print-loop of Power FX expressions
- new run command to run Power FX expressions from file
canvas
- Added new list command to list all canvas apps in the environment
- Added new download command to download msapp file for a canvas app
data
- Import command has new --connection-count parameter to specify the number of connections to use during import with 5 being the default
admin
- Create command has new --user parameter to specify the owner of the developer environment
solution
- Import command has new --stage-and-upgrade switch to perform a Solution Upgrade in a single command, instead of needing `pac solution import --import-as-holding` followed by a `pac solution upgrade`
Misc
- PAC CLI is outputting in Unicode (UTF16) by default
- Improved environment discovery for service principal authentication
- Improved service pricnipal access token refresh and exchange flows
- Improved asyncronous polling
- fixed https://github.com/microsoft/powerplatform-build-tools/issues/516 reported by https://github.com/joje1234
- PAC CLI is now long path aware on Windows for file names longer than 260 characters
- Updated Microsoft.Graph to 5.28.0
1.27:
admin
- Added new list-tenant-settings as requested by https://github.com/Laskewitz: https://github.com/microsoft/powerplatform-build-tools/discussions/460
- Added new update-tenant-settings as requested by https://github.com/Laskewitz: https://github.com/microsoft/powerplatform-build-tools/discussions/460
- Improved list command which now shows environment selected in current auth profile
connection
As requested by https://github.com/jboliveira and based on large number of votes on https://github.com/microsoft/powerplatform-build-tools/discussions/481
- (Preview) Added create, update, list and delete verbs for Dataverse connections with Service Principal authentication
org
- Added new alias "env": "pac env list" is equivalent to "pac org list"
paportal
- Added new aliases "powerpages" and "pages"
auth
- create --managedIdentity flow can include regular users, specified by Username + Password Environment Variables
Misc
- Removed support for .NET 5.0
- Updated Microsoft.Graph to 5.26.0
- Updated Microsoft.PowerPlatform.Dataverse.Client to 1.1.14
1.26:
pcf
- Added new --incremental flag which only pushes changed files via entity update
- project templates now include react and react-dom as devDependencies
- Added pcfStartPath option to improve monorepo support
admin
- create-service-principal now has internal retry logic after Entra ID app creation
- Most votes got idea from https://github.com/Laskewitz: https://github.com/microsoft/powerplatform-build-tools/discussions/406
create-service-principal now has --name and --environment is optional
- Added list-service-principal command to list all application service principals in the tenant which have access to Dataverse environments
- Added support for managed environments with set-governance-config
auth
- Better detection of Azure Cloud based on environment URL
- Operating system auth profile can now have default environment URL (org select)
copilot
- predict now accepts model by name in addition to model id
- list shows which models are active or inactive
test
- execution of automated tests for Power Apps with Playwright
catalog
- Add Support for common Packager
Misc
- Updated Microsoft.PowerPlatform.Dataverse.Client to 1.1.12
- Updated SolutionPackager to 9.1.1.156
- Updated Microsoft.Graph to 5.21.0
- Updated Dataverse ModelBuilder to 2.0.6
- Updated Microsoft.PowerPlatform.Formulas.Tools to 0.6.4-preview
- Added --log-to-console for use with Azure DevOps Build Tools
1.25:
solution
- "smarter" solution import (GitHub issue #200 by HansMeiser999). Added new --skip-lower-version flag to solution import
- export path is optional
org
- New list-settings command displays list of current environment settings
- New update-settings command updates environment settings
pcf
- Fixed pcf push when pac is installed as a dotnet tool
- Updated init command defaults
- Solution customization prefix is now optional during push
- pcf-scripts is fixed when generated types were either deleted or contain errors
admin
- Updated assign-user to not error on duplicate entry
- Added support for creating app user and assigning role to pac admin create-service-principal
- Added support for managed environments with set-governance-config
- Deprecated commands are now hidden from help but still available
modelbuilder
- Removed --generateactions Command and Replaced with --generatesdkmessages
Change is backward compatible if using a settings file to generate. shortcut for generatesdkmessages remains -a for compatibility
- Added --emitentityetc control for emitting ETC code in code base, Defaulted is now to not emit ETC on write.
- Added --emitvirtualattributes control for emitting Virtual Attributes as part of ModelBuilding. This allows access to "name" properties that are stored in the formatedvalues property bag.
added at the request of git: https://github.com/microsoft/powerplatform-vscode/issues/509
- Updated Suppress Code Generation attribute behavior to remove tool version from files.
- Updated generation of field enums to a partial class to support the request on Git: https://github.com/microsoft/powerplatform-vscode/discussions/558
- Fixed issue where Warning about not writhing Proxy attribute was not emitted to the console. https://github.com/microsoft/powerplatform-vscode/issues/516
- Fixed issue where SDK message builder would miss messages due to the volume of data being read from Dataverse. https://github.com/microsoft/powerplatform-vscode/issues/413
copilot
- New list command displays list of AI Builder models
- New predict command allows to test AI Builder models
Misc
- Fixed 'React PCF creation not working' (GitHub issue #584 by Ionavoss)
- Increased Dataverse Service Client Timeout to default of 30 minutes.
- Updated Microsoft.Identity.Client to 4.54.1
- Updated Microsoft.PowerPlatform.Formulas.Tools to 0.6.3-preview
- Updated Microsoft.Xrm.Tooling.Dmt libraries to 4.0.0.139
1.24:
admin
- Added new command to allow for setting backup retention period of environments with managed environment enabled.
- Added new --skip-audit-data flag to allow for skipping audit data during environment copy and restore.
- Added new create-service-principal command to provide alternative for separate PowerShell script which creates Azure AD app.
catalog
- New catalog update command to update settings for a catalog
solution
- Fixed unpack command when solution contains canvas apps
pipeline
- Improved deployment wait flag and environment selection
application
- Added new "Application Id" column to list command
- Added application argument to list command which will accept app id/app name
copilot
- (Preview) New: "copilot" for tools and utilities in copilot scenarios
- (Preview) prepare-fetch: takes FetchXML file from AI LLM and prepares it for execution against Dataverse environment
Misc
- telemetry status now shows log file location
- Updated Dataverse Service Client to 1.1.9
- Updated Microsoft.PowerPlatform.Formulas.Tools to 0.6.2-preview
- Nuget packages for CLI.Core* include all resource assemblies
- Updated Microsoft.CrmSdk.XrmTooling.PackageDeployment.Core to 9.1.0.142
1.23:
Added support for dotnet tool install on Windows, Linux, Mac: dotnet tool install --global Microsoft.PowerApps.CLI.Tool
Added support for Web Account Manager - single sign-on, pac auth create is now optional on Windows
connector create / update
- Added Script support for pac connector create / update
solution
- clone: Added --localization switch to allow for localized solution clone operations.
- sync: Added --localization switch to allow for localized solution sync operations.
- init: Added new property (SolutionPackageEnableLocalization - true|false) to project file to enabled / disable localization during pack operations.
- check: Added --saveResults switch to allow storing solution analysis results in the current Dataverse environment.
paportal
- Added bootstrap-migrate verb to pac paportal command that provides ability to migrate bootstrap v3 portal to bootstrap v5
modelbuilder
- New verbose flag [--loglevel] for modelbuilder
data
- Updated to latest CMT bits, including bug fixes
package
- Updated to latest package deployer bits, including new operation telemetry feature and bug fixes. Updated progress log reporting to reflect package progress notifications.
Misc
- Breaking change: Renamed Mooncake to China (--cloud China)
- Updated fluent V9 platform library from 9.5.2 -> 9.19.1. This brings in the common PCF package that has the new fluent library and configuration json file.
- SolutionPackager version is updated
- GitLibrary updated in new version [ARM/Linux]
1.22.4:
modelbuilder
- Update to ModelBuilder lib to pick up bugfixes
pcf push
- support for interactive auth and console logging
Catalog for Power Platform:
- catalog list: List all published catalog items from the current Dataverse Organization.
- catalog submit: Submit catalog approval request.
- catalog install: Install a catalog item to the target environment.
- catalog status: Get status of the catalog install/submit request.
- catalog create-submission: Create catalog submission document. Note: This command will be removed in a future release."
connector
- create | update now accepts --solution-unique-name
solution check
- Support for additional GEOs: SouthAfrica, Norway, Singapore, Korea
solution clone | sync: fixed issues in managed and unmanaged solutions
admin list
- supports for new argument --application-id
paportal
- Support for working with Power Pages websites utilizing the enhanced data model (v2)
1.21.13:
- Fixed issues with versioning.
- Connector noun support: Create/Update permit setting values via settings file
PAPortal
- Support for reading and writing optionsetvaluecollection.
- Support for uploading datetime fields.
- Download support for multi-language portals in v2 data model.
- v1 webfiles having 'adx_migratedtofilecontent' attribute is no longer supported.
- Support for custom name handling in v2 data model for entities.
- Renamed 'annotations' to 'webfiles' in v2 data model download.
- Added content field in 'powerpagesitelanguage', display name field to 'powerpagesitelanguage' entity.
- Added additional fields to YML files.
New Verb
- (Preview) New Verb: "org fetch" to perform FetchXML query against Dataverse.
Admin async operation improvements
- `admin status` now displays the internal pac operation ID.
- All admin verbs that support async operations now display the internal pac operation ID.
- Deprecated `admin assign-user --async`.
1.21.8:
- canvas pack|unpack: updated to Microsoft.PowerPlatform.Formulas.Tools to 0.5.8-preview.
- modelbuilder updated to latest version 1.0.16
- virtual-agent status: new verb to poll for completion of provisioning status of bots
1.21.4:
- admin assign-group: new verb to complement assign-user
- auth create: support for Azure Managed Identities
- canvas pack|unpack: updated to Microsoft.PowerPlatform.Formulas.Tools to 0.5.7-preview.
- pipeline: new noun to list and start in-product Pipelines
- virtual-agent: listing of Power VA in environment
- package: update to latest PD Core 9.1.0.118
- update to latest Dataverse Service client lib 1.0.26
1.20.3:
- modelbuilder build: generate C# classes from entities (integrates CrmSvcUtil functionality)
- auth create: fix to handle client secrets starting with '-' (pp-build-tools #206)
- solution check: fix incorrect checker endpoint urls for some sovereign clouds (pp-build-tools #211)
- solution pack|unpack:
- support PowerFX formulas in .yaml files for Entities
- unpack will sort RootComponents, MissingDependencies, AppModules to reduce noisy diffs between exports/sync calls
- solution sync: don't place PCF controls or plugin assemblies that are rebuilt from src via solution add-references
1.19.4:
- QFE:
- fix for pcf push: <https://github.com/microsoft/powerplatform-vscode/issues/294>
- fix for solution sync: fails to package solution zip with 'Unable to find assembly registration configuration'
1.19.3:
- canvas pack|unpack: updated to Microsoft.PowerPlatform.Formulas.Tools to 0.5.5-preview.
- paportal: site visibility warning for upload/download verbs
- solution import: reject with error if deployment settings has Dataverse EnvVars without value
- tool cmt|pd|prt: install, launch and update WPF apps ConfigMigrationTool, PackageDeployer, PluginRegistrationTool
1.18.4:
- admin assign-user: also support application user
- application list|install: deprecate parameter `--environment-id` in favor of `--environment` which allows specifying url or id
- auth create: support for appID/SPN authN via certificate (in addition to client secret)
- canvas pack|unpack: updated to Microsoft.PowerPlatform.Formulas.Tools to 0.5.3-preview.
- data import:
- specify data to import as either directory or zip file with --data param
- deprecating the now obsolete --dataDirectory param
- NOTE: pac data import|export is a Windows-only feature for the time being
- package deploy: pass in runtime settings for package parameters
- plugin init: strong-name signing for plugin dll is opt-in now
- PREVIEW: new noun connector with verbs for interacting with Custom Connectors in Power Apps
- Updated to latest SolutionPackager (9.1.0.128)
1.17.6:
- macOS/linux: pac CLI now runs on and requires .NET6; get SDK installer from: https://dotnet.microsoft.com/en-us/download
NOTE: when running pac CLI on Apple Silicon ARM (M1/M2) macOS, this version still requires to also have the intel/x64 .NET6 SDK to be installed!!
- shipping with GA-ed Dataverse Service client (1.0.9)
- admin: new verbs:
- list-app-templates: enumerate available D365 application templates
- assign-user: Assign a user and role to a target environment
- auth:
- create verb, new opt. parameter: select a default environment by url, domain name or environmentId; change later with `pac org select`
- update verb: update name or default env url/id for existing auth profile
- canvas:
- create: new verb to generate Power Apps from custom connector
- updated to Microsoft.PowerPlatform.Formulas.Tools to 0.5.2-preview.
- data: new module to import/export configuration data, similar to CMT
- org:
- select: change pre-selected environment to use for e.g. solution export etc.
- list now supports filtering
- package:
- add-external-package: Adds support for external packages to app packages, including FnO packages.
- plugin:
- push: directly update an already registered plugin dll/package in the selected environment
- init:
- updated plugin code template with added ILogger, ServiceProvider, OrgSvcFactory accessors
- added ability to skip plug-in assembly signing which gives plug-in assembly strong name via new --skip-signing switch
- solution:
- add-solution-component: adds a solution component to the unmanaged solution in the connected Dataverse environment
- clone:
- also packs and unpacks any Canvas apps in solution.zip (new param --processCanvasApps)
- allow selecting managed/unmanaged solution
- sync, currently in preview:
-updates a previously cloned solution in the local filesystem with latest changes made in Maker studio
- also packs and unpacks any Canvas apps in solution.zip (new param --processCanvasApps)
- allow selecting managed/unmanaged solution
- check: extended default timeout to 1hr to check even larger/complex solution
1.16.6:
- auth create now supports "Single Sign On":
- '--kind' parameter is deprecated but still valid to use with its DATAVERSE and ADMIN kind values; defaults now to UNIVERSAL
- '--url' is now optional, will select default environment in tenant
- the single sign on authN can be used with all pac CLI nouns
- canvas: updated Microsoft.PowerPlatform.Formulas.Tools to 0.5.0-preview.
- admin:
- added China sovereign cloud admin endpoints
- fixed --language argument to accetp language ids and suggest valid ids
- package deploy: fixed error when packages contain .cab files
- solution check: --path supports now wildcards and globbing
- solution list: show if solutions are managed or not
1.15.3:
- admin: Added ability to backup, restore and list Microsoft Teams Power Apps environments.
- admin backup: --notes parameter has been deprecated in both pac CLI and service endpoint
- canvas: updated Microsoft.PowerPlatform.Formulas.Tools to 0.4.5-preview.
see also <https://github.com/microsoft/PowerApps-Language-Tooling/releases/tag/0.4.5-preview>
- package:
added support for creating and building additional package types, Dataverse For Teams, UNO
- init: now defaults to creating package projects as new sdk-style projects.
- add-solution: add prebuilt solution.zip to package.
- add-reference: support the new sdk-style project type.
- plugin: support building Dataverse plugins with dependent assemblies into nuget package
- solution:
- export|clone: parameter --targetVersion deprecated (not supported by Dataverse 9.x)
- pack|unpack verbs: also packs and unpacks any Canvas apps in solution.zip (new param --processCanvasApps)
- publish: Added ability to publish customizations asynchronously
- upgrade: check that an upgradeable solution exists in target environment
- Updated to latest SolutionPackager (9.1.0.110) and Dataverse Service Client (0.6.6) libraries
1.14.4:
- admin create: Added ability to create Microsoft Teams environments
- admin reset: fix language name parsing for --language
- canvas: updated Microsoft.PowerPlatform.Formulas.Tools to 0.4.2-preview.
- pcf init: support for React(virtual) and Fluent UI code components using platform libraries.
- pcf version | solution version: Fix "gittags" and "filetracking "version update strategies
- org list: fixed list of environments for authentication profiles in sovereign clouds
- emit path to pac CLI's diagnostic log when encountering non-recoverable errors
1.13.6:
- admin copy: fix regression when specifying --source-url was rejected with error
- new 'pac application' noun: list and install packages/application available for the PP tenant to the target environment
- canvas: updated Microsoft.PowerPlatform.Formulas.Tools to 0.4.0-preview.
- Added support for first-party PCF Control conversions.
- Controls and components with conflicting names will no longer overwrite the editor state.
- Empty test suites will no longer cause issues when roundtripping.
see also <https://github.com/microsoft/PowerApps-Language-Tooling/releases/tag/0.4.0-preview>
- paportal download: fix 'missing root pages' error for non-English PowerPages
- solution pack|unpack: latest SoPa 9.1.0.107
- strip XML comments from localizable elements
- fix AssemblyQualifiedName mapping for plugins
1.12.2:
- Device Code Authentication:
`pac auth create` now supports Device Code Authentication via the `--deviceCode` switch
- pcf init framework argument is now case insensitive
- "none" is no longer available as copy type for copy environment
- Fixed issue where pac pcf init fails with an unrecognized error when using --run-npm-install
- Updated pcf dependencies
- pac auth clear now deletes local user token cache
1.11.8:
- Sovereign cloud support authentication support:
pac admin and pac auth | org | paportal | solution noun/verbs can now interact with sovereign cloud environments
- Interactive OAuth logins now use single appID for all endpoints
- Update to latest SolutionPackager library:
- localization support for solution aware entities
- fix handling of CanvasApp where app name and paths to composite files (.msapp, image) differ; file name reference in meta xml is now source of truth
- fix EntityRelationshipRole/AssociationRoleOrdinal search bug
- pac package init: improved/fixed package template project
- paportal:
- improve error handling for deleted and missing key
- adding option to specify locale file format json or yaml
- solution:
- fix version verb to correctly increment version tuple in solution.xml (preserving version tupleness)
- add additional parameters (--solutionUri, --excludedFiles) to check verb
1.10.4:
- pac auth create: fixed interactive login for --kind admin on .NET Core 5 (linux, macOS)
- pac canvas pack: updated to latest library with fix for issue https://github.com/microsoft/PowerApps-Language-Tooling/issues/319
- pac org list: enumerate reachable Dataverse environments, using global discovery service
- pac paportal: added missing attributes adx_attachfileacceptextensions, adx_attachfilesaveoption
- pac solution add-license: fixed reported unhandled exception errors
- added: pac solution delete
- added: pac solution online-version to update version in connected Dataverse environment
- pac solution unpack
- fixed issue with resource localization incorrectly using Lcid ID's when not requested
- fixed issue with --allowDelete causing pac to hang.
- fixed issue with --useUnmanagedFileForMissingManaged that caused the setting to be ignored.
- fixed issue with --useLcid that caused the setting to be ignored.
- pac solution pack - plugin references in solution will be remapped to full strong name (type/version/pubKeyToken) of assembly;
--disablePluginRemap to disable plugin type name remapping
1.9.9
- pac solution pack|unpack: add support for modern SiteMap
- pac admin module, all verbs: new parameter --environment that allows to specify url or env ID as its value (deprecating --environment-id and --url)
- pac CLI for Windows now runs on .NET 4.8
- new verb: pac solution delete
- Updated MSAL to 4.35
- pac solution unpack: don't delete existing files (unless forced with --AllowDeletes)
- paportal module:
- Populate the deployment profile after reading entity data from files
- Generate unique display names on encoded value
- Create annotations with name same as webfiles
1.9.4
- pac auth create --kind Dataverse: interactive login for username/password is now also supported on macOS and linux
- pac auth create: renamed --kind to Dataverse (older CDS kind name is still accepted)
- pac canvas: updated to latest PowerApps-Language-Tooling library 0.3.8-preview
- pac plugin init now generates strong-name key without sn.exe from VisualStudio
- pac solution create-settings to extract connection references & environment variables from solution
- pac solution pack|unpack: SolutionPackager is now integrated into pac CLI and works on all 3 supported OS;
SoPa no longer needs to be installed via separate nuget package
- all verb parameters that accept file or folder paths now have consistent handling of absolute and relative paths
- Fixes:
- pac admin list properly paginates all environments in tenant
- pac package deploy: report parse error when reading deployment config file
- pac paportal: Fixing website id not found error
- pac pcf init & pac plugin init also support optional --outputDirectory
- pac solution list now supports Dataverse authentication profile with AppID/SPN too
- pac solution (all verbs): properly surface the returned service side error to user (in raw form)
1.8.6
- pac admin status no longer stumbles over no longer existing environments
- pac canvas using latest MS.PP.Formulas.Tools 0.3.6-preview library
- pac paportal improvements:
- Upload of portal data running in parallel threads
- Support a tag based deployment profile for upload
- Replace all string based primary key references with schema based primary key.
- Improved error reporting during parallel execution and when encountering YAML errors
- pac pcf init also runs npm install to get the new PCF project fully initialized
- pac solution check to submit solution.zip to PowerPlatform Checker endpoint
- pac solution version applies version to solution.xml found
- rename to "Power Platform CLI" in user facing friendly names; the executable still remains named as 'pac.exe';
no rename planned for nuget package names
- Updated SolutionPackager with localization support for solution aware entities
1.7.4:
- new module paportal to list, download and upload PA Portals
- new module canvas to pack and unpack PowerApps .msapp files
- added new verb: pac solution add-license
- pac package deploy correctly handles relative paths for --package argument
- fix error when trying to delete expired auth profile (pac auth delete)
1.6.6:
- fix broken Dataverse authentication when using appId/tenantId/clientSecret
- new retry logic for calls to Dataverse API
- cross platform support for project templates
- update to latest Microsoft.PowerPlatform.Dataverse.Client 0.4.11
- reintroduced --convert-to-managed argument for "solution import" command
1.5.2:
- New and updated CLI modules and commands:
- "pac admin": PAC Admin module to work with your Power Platform Admin account. You can create, backup, reset, list, restore, copy and delete environments.
1.4.4
- PCF ControlManifest versioning
- can now accept an argument for specifying filename for file tracking strategy
- can accept path as an argument
- Localization updates for CLI
- New and updated CLI modules and commands:
- "pac package" CLI support to create, build and push package
- "pac auth create" now supports username/password without interactive prompt
- "pac auth create" now supports SPN authentication
- Increased character limit for auth profile name from 12 to 30
- "pac solution import/export" now have support for async
- "pac solution upgrade" CLI support to upgrade the solution
- "pac solution list" CLI support to list all solutions in a CDS organization
- "pac solution version" CLI support to increment patch version for solutions
- CLI now has refreshed icons
1.3.6
- PCF ControlManifest versioning:
- persist patch version strategies using gittags, tracking file
- can push gittags patch versions using PAT
1.3.5
- PCF ControlManifest versioning can now automatically increment patch version using git tags to store previous versions:
pac pcf version --strategy gittags
1.3.1:
- New verb to modify PCF control’s patch version:
pac pcf version --patchVersion 4
- update to latest CrmServiceClient 9.1.0.42 (Microsoft.CrmSdk.XrmTooling.CoreAssembly)
1.2.6:
- update to latest CRM SDK versions
1.1.6:
- New and updated CLI modules and commands:
- "pac plugin init": create a new CDS plugin class library from a template
- "pac solution add-reference": you can now add references to plugin projects created using "pac plugin init." When your solution (cdsproj) is built, it will also build your plugin projects and copy the output DLLs into your solution zip.
- "pac solution clone": create a solution project based on an existing solution in an organization
- CLI is now localized in the 44 languages supported by Dynamics365/CDS
1.0.6:
- "pac solution init" will now convert publisher prefix to lower case
- Argument short names now require only a single dash
- Projects that share the same name as the cdsproj cannot be added as a referenced project
- Various bug fixes for "pac auth" commands
- Various bug fixes related to project paths that include whitespace
- "pac pcf push" command will no longer attempt to delete the temporary solution
0.4.3:
- New CLI modules and commands:
- "pac auth": supports managing OAuth profiles to authenticate with CDS organizations
- "pac pcf push": import a PCF control into a CDS organization
- "pac org": first CDS organization command; for now, only "who-am-I" is supported
- PCF project template now uses a minimum version of 1.2.0 for @types/powerapps-component-framework
0.3.4:
- CLI arguments have optional shorted aliases
- Unified naming and spelling of parameters, e.g. --publisher-prefix and --publisher-name
- Consistent version showing for CLI and its nuget packages
0.2.71:
- PowerApps CLI and PCF are localized for: English, French, German, Japanese, Spanish
- Updated MSI registry path to: Software\Microsoft\PowerApps CLI\Installed
- Improved error messaging in the CLI launcher
- Updated help descriptions
0.2.59:
- PCF build output enhancements include:
- Colorization
- Timestamps
- Formatting updates
- PCF build now produces formal error codes in conjunction with error messages
- A .gitignore file is added for all newly created CDS solution projects
- We are also enabling clean target for Solution projects
0.1:
- initial set of capabilities for custom control development using the PowerApps Component Framework (PCF).