Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Power Platform ALM. Unmanaged solution pack from repo and then import as Managed solution doesn't work

I have been developing Azure Dev Ops pipelines for the last few weeks. Happily exporting Managed and Unmanaged solutions, storing .zipfiles, unpacking code storing in repo, building release and all that stuff. All fine.


I now try to pack code from an unmanaged solution into a .zip and import as managed but it always imports wrongly as unmanaged.


I have tried every combination of settings. Deleted every trace of the unmanaged solution from the target environment, published customisations from every level  and it still installs as unmanaged even though the logs say it's fine.


I then installed the solution manually as managed and ran the pipeline import which is rejected as it states that it is trying to install as unmanaged when the parameter is set as managed. 


Logs attached. I don't know what else to try so an idea would be appreciated. Cheers, Richard UK

Kudo Collector
Kudo Collector

This maybe your issue

/packagetype: {Unmanaged|Managed|Both} Optional. The type of package to process. The default value is Unmanaged. This argument may be omitted in most occasions because the package type can be read from inside the .zip file or component files. When extracting and Both is specified, managed and unmanaged solution .zip files must be present and are processed into a single folder. When packing and Both is specified, managed and unmanaged solution .zip files will be produced from one folder. For more information, see the section on working with managed and unmanaged solutions later in this topic.

Hi Rex, thanks for taking the trouble. My problem was expecting that the Import solution could accept an Unmanaged solution pack and import it as 'managed' with that box ticked but it doesn't work like that. I don't really know what that box is for. Unmanaged source can only be imported as Unmanaged. This is what I do now into a build environment then export it as managed. I never tried changing the managed/unmanaged switch to see if that would work but I understand that some components are formatted differently between Managed/Unmanaged so it might work, or not, or sometimes.   Cheers, Richard

New Member

Researching GitHub Actions vs Azure Pipelines for use as the GitHub ALM lifecycle. Based on my initial searches, it would appear that Azure Pipelines is more mature than GitHub Actions, but it's not clear which has the best implementation, which is better supported and which (for a development team of six programmers) to use going forward. I would appreciate the groups opinions.

Helpful resources

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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,256)