cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
srinathgadalaye
Regular Visitor

PowerPlatform Pack Solution not working as expected

Hi Team,

 

I have PowerApps solution folder in Azure Repos, I need to Pack that solution using Azure DevOps PowerPlatform Pack Solution task. I was unable to pack the solution saying solution file not found (but in solution folder the required file exists)

 

Below is my pack task in pipeline,

 

taskPowerPlatformPackSolution@0
              inputs:
                SolutionSourceFolder'CRM_Solutions/MySolutionNameHere'
                SolutionOutputFile'$(System.DefaultWorkingDirectory)\CRM_Solutions\$(SolutionName).zip'
                SolutionTypeUnmanaged
 
Below is result saying solution file not found, my solution folder contains the required file.
 
Packing c:\..\..\_work\14\s\CRM_Solutions\MySolutionNamehere to c:\adoagent\h3inno-win-01\_work\14\s\CRM_Solutions\MySolutionNamehere.zip
 
Cannot find required file 'c:\..\..\_work\14\s\CRM_Solutions\MySolutionNamehere\Other\Customizations.xml'.
SolutionPackager: Exception thrown: Microsoft.Crm.Tools.Solution
 
Is there anything which I am missing in PowerPlatform Pack task?
 
Note: I can pack this solution using solution packager using cmd line locally
 
2 REPLIES 2
jakestratton
New Member

I am having the exact same problem.  Did you ever find an answer?

Schowd
Regular Visitor

Hi, did you manage to solve this issue?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,342)