unable to pack canvasapps within a solution
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
- Exported solution using pac CLI - i got a solution.zip file
- Unpacked solution using pac CLI - i can see all the source files but canvasapp is still in .msapp format
- unpacked canvasapp using pac CLI - i can see all the source files for this canvasapp along with the .msapp format
- added .msapp to the git ignore and then checked the code into git repo
- created a Azure devops pipeline to push the solution to demo environment and below are the tasks in my yml file
- PowerPlatformToolInstaller@2 - runs successfully
- PowerPlatformWhoAmi@2 - runs successfully
- PowerPlatformPackSolution@2 with ProcessCanvasApps: true - this step fails with error ".msapp not found and ProcessCanvasApps: true deprecated" as shown below
if ProcessCanvasApps is deprecated then should it be visible here in azure devops?
and i dont see any other task available for dealing with canvasapps am using the latest versiopn of build tools as seen below..
What do you suggest?
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
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
If --processCanvasApps is deprecated, what is the new way to get that functionality?
Hi everyone, I have the same issue, any news from Microsoft?