cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Create solution package with Power Platform Build Tools for DevOps?

I've been working through setting up some pipelines in Azure DevOps to export/import solutions across environments. I noticed that there's an action to deploy a package, but I couldn't see one to create a package. Is there a way to create a package within DevOps? 

2 REPLIES 2
ChrisPiasecki
Super User
Super User

Hi @Anonymous,

 

You would use the Export Solution task to retrieve an unmanaged solution from a development environment in a packed zip file. 

 

The Unpack Solution task extracts the solution file components from the zip format to its XML format which can be version controlled. 

 

You can use the Pack Solution task to take the unpacked XML components and compress it back into a zip. The zip can then be imported into an environment.

 

The build tasks are described in further detail here. 

 

https://docs.microsoft.com/en-us/power-platform/alm/devops-build-tool-tasks#power-platform-pack-solution

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Anonymous
Not applicable

Hi @ChrisPiasecki 

 

Thanks for your reply!

 

I've got a pipeline that exports and unpacks the solution. I can pack the solution and import it, but I want to deploy it as a package including data. Is it possible to create this package in DevOps? I couldn't see a power platform tool for it, but maybe there's a way to achieve it using other tools.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,806)