microsoft / powerplatform-build-tools

Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
200 stars 41 forks source link

##[error]No agent found in pool {poolname} which satisfies the specified demands: PowerPlatformTool, Agent.Version -gtVersion 2.163.1 #198

Closed SqlSmith closed 2 years ago

SqlSmith commented 2 years ago

Hi,

I'm getting this error in the job after updated to the version 2. This is the failing task.

` #Power Platform Import Solution

Please help!

SqlSmith commented 2 years ago

Resolved by adding user capability.

Name : PowerPlatfomTool Value : Path of Power Apps CLI install on the agent. You can get this from the "pac install latest" command's output.