Install-Package Microsoft.PowerApps.CLI -Version 1.16.6
dotnet add package Microsoft.PowerApps.CLI --version 1.16.6
<PackageReference Include="Microsoft.PowerApps.CLI" Version="1.16.6" />
paket add Microsoft.PowerApps.CLI --version 1.16.6
#r "nuget: Microsoft.PowerApps.CLI, 1.16.6"
// Install Microsoft.PowerApps.CLI as a Cake Addin #addin nuget:?package=Microsoft.PowerApps.CLI&version=1.16.6 // Install Microsoft.PowerApps.CLI as a Cake Tool #tool nuget:?package=Microsoft.PowerApps.CLI&version=1.16.6
Microsoft PowerPlatform CLI is a simple, single-stop, developer command-line interface (CLI) for developing customizations and extensions for Microsoft PowerPlatform. See project site how to install.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
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
- 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
- CAVEAT: authentication via SPN/appID does not yet work for UNIVERSAL kind; for now, use --kind DATAVERSE or ADMIN with appIds
- canvas: updated Microsoft.PowerPlatform.Formulas.Tools to 0.5.0-preview.
- 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
- 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>
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
- 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 (18.104.22.168) and Dataverse Service Client (0.6.6) libraries
- 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
- 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 22.214.171.124
- strip XML comments from localizable elements
- fix AssemblyQualifiedName mapping for plugins
- 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
- 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
- improve error handling for deleted and missing key
- adding option to specify locale file format json or yaml
- fix version verb to correctly increment version tuple in solution.xml (preserving version tupleness)
- add additional parameters (--solutionUri, --excludedFiles) to check verb
- 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
- 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
- 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
- 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)
- 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
- 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)
- 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
- 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.
- 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
- PCF ControlManifest versioning:
- persist patch version strategies using gittags, tracking file
- can push gittags patch versions using PAT
- PCF ControlManifest versioning can now automatically increment patch version using git tags to store previous versions:
pac pcf version --strategy gittags
- New verb to modify PCF control’s patch version:
pac pcf version --patchVersion 4
- update to latest CrmServiceClient 126.96.36.199 (Microsoft.CrmSdk.XrmTooling.CoreAssembly)
- update to latest CRM SDK versions
- 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
- "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
- 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
- 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
- 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
- PCF build output enhancements include:
- 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
- initial set of capabilities for custom control development using the PowerApps Component Framework (PCF).