Skip to content

[Bug]: Latest PAC not recognized #79

@mcpolo99

Description

@mcpolo99

Contact Details

No response

What happened?

Latest vscode powerapps exstension pac is now called
Microsoft PowerPlatform CLI
Version: 2.1.2+g3e2fa29 (.NET Framework 4.8.9310.0)

in method "ParsePacVersionOutput"

change to this :
from if (!string.IsNullOrEmpty(output) && output.ToLower().Contains("microsoft powerapps cli"))
to
if (!string.IsNullOrEmpty(output) && output.ToLower().Contains("microsoft powerapps cli") | output.ToLower().Contains("microsoft powerplatform cli"))

What version of the tool are you using?

2.0.0.0

What version of XrmToolBox are you running?

1.2025.10.74

Relevant log output

\AppData\Roaming\Code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\pac.exe
Microsoft PowerPlatform CLI
Version: 2.1.2+g3e2fa29 (.NET Framework 4.8.9310.0)
Online documentation: https://aka.ms/PowerPlatformCLI
Feedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions

Usage: pac [admin] [application] [auth] [canvas] [catalog] [code] [connection] [connector] [copilot] [data] [env] [help] [managed-identity] [modelbuilder] [package] [pages] [pcf] [pipeline] [plugin] [power-fx] [solution] [telemetry] [test] [tool]

  admin                       Work with your Power Platform Admin Account
  application                 Commands for listing and installing available Dataverse applications from Microsoft Marketplace
  auth                        Manage how you authenticate to various services
  canvas                      Operating with Power Apps .msapp files
  catalog                     Commands for working with Catalog in Power Platform
  code                        (Preview) Commands to manage your Code apps.
  connection                  Commands for working with Dataverse connection.
  connector                   Commands for working with Power Platform Connectors
  copilot                     Tools and utilities for copilot management
  data                        Import and export data from Dataverse.
  env                         Work with your Dataverse organization.
  help                        Show help for the Microsoft Power Platform CLI.
  managed-identity            Commands for managing Managed Identity records for Dataverse components
  modelbuilder                Code Generator for Dataverse APIs and Tables
  package                     Commands for working with Dataverse package projects
  pages                       Commands for working with Power Pages website.
  pcf                         Commands for working with Power Apps component framework projects
  pipeline                    Work with Pipelines
  plugin                      Commands for working with Dataverse plug-in class library
  power-fx                    (Preview) Commands for working with Power Fx
  solution                    Commands for working with Dataverse solution projects
  telemetry                   Manage telemetry settings.
  test                        (Preview) Execution of automated tests for a Power App
  tool                        Power Platform tools that can be installed and launched.

Metadata

Metadata

Labels

bugSomething isn't workingtriage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions