powerplatform-build-tools icon indicating copy to clipboard operation
powerplatform-build-tools copied to clipboard

unable to pack canvasapps within a solution

Open anubhav247 opened this issue 8 months ago • 4 comments

Hey team,

Looking for some advice here..

Environment - Dev contains a solution which i am trying to deploy to Environment Demo. This solution has a bunch of components in it including model driven apps and canvasapps Following the best practices for ALM, i did the following steps

  1. Exported solution using pac CLI - i got a solution.zip file
  2. Unpacked solution using pac CLI - i can see all the source files but canvasapp is still in .msapp format
  3. unpacked canvasapp using pac CLI - i can see all the source files for this canvasapp along with the .msapp format
  4. added .msapp to the git ignore and then checked the code into git repo
  5. created a Azure devops pipeline to push the solution to demo environment and below are the tasks in my yml file
  6. PowerPlatformToolInstaller@2 - runs successfully
  7. PowerPlatformWhoAmi@2 - runs successfully
  8. PowerPlatformPackSolution@2 with ProcessCanvasApps: true - this step fails with error ".msapp not found and ProcessCanvasApps: true deprecated" as shown below image if ProcessCanvasApps is deprecated then should it be visible here in azure devops? image and i dont see any other task available for dealing with canvasapps am using the latest versiopn of build tools as seen below.. image

What do you suggest?

anubhav247 avatar Jul 01 '25 05:07 anubhav247

Hi,

I just have the same issue "##[error]error: 1 ##[error]failed: --processCanvasApps argument is being deprecated" in my azure yaml pipeline.

Here my yaml code : - task: microsoft-IsvExpTools.PowerPlatform-BuildTools.unpack-solution.PowerPlatformUnpackSolution@2 displayName: 'Power Platform Unpack Solution ' inputs: SolutionInputFile: 'UNMANAGED_${{value}}.zip' SolutionTargetFolder: '${{value}}' ProcessCanvasApps: true

Note that it's the first time I have this error, and all others runs were ok.

Regards Sybaris

sybaris avatar Sep 25 '25 12:09 sybaris

Hi, We have the same issue

  • Power Platform Build Tools version 2.0.96
  • Pipeline fails only with some version of Power Apps - action failing is Unpack
  • In our case we have only Custom Pages
  • For CustomPages with version 3.25093.12 fails, but for CustomPages with version 3.25092.9 or lower the action is running properly.
  • If the setting "Process CanvasApp" is disabled, pipeline doesn't fail

Best regards Sergio

SergioCantera avatar Sep 26 '25 07:09 SergioCantera

If --processCanvasApps is deprecated, what is the new way to get that functionality?

jecdx avatar Oct 15 '25 18:10 jecdx

Hi everyone, I have the same issue, any news from Microsoft?

hernan-ramirez avatar Oct 15 '25 21:10 hernan-ramirez