Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

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? 

Super User
Super User

Hi @Zuleikav,


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.


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.

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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (15,916)