I am trying to export a PowerApps solution (for source control purposes) but the Export Solution operation fails with the error below.
I Published all customizations prior to running the export. I am using the 'Unmanaged' package type.
Is there a workaround for this bug?
Did you follow the steps in below documentation?
About the Unmanaged package type, would you please take a screenshot about it?
Can't follow the instructions at the link you sent me becasue the 'Export' command is not available in that menu on my PowerApps portal. See screen shot. Could this be becasue my app is a model-driven app instead of a canvas app?
I have only found access to the export command for the app from the Dynamics 365 portal.
Screen shot of that page, showing the 'Export Solution' command I am using and showing the unmanaged package type, is also attached.
I have just encountered a similar error. The error message call stack mentions SiteMapExportHandler, so I created a new Solution, and under Client Extensions I added to it all the existing unmanaged Site Maps (without the 'Required Components'). In my case there were only three. I then ran an export of my solution, and it produced the same error. I narrowed this to one and proved that the other two were ok. I expected to need to delete and recreate or re-import it, but in my case it turned out to be an old and redundant site map that could simply be deleted, and then the original solution exported without difficulty.