Currently trying to create app source package for my ISV PowerApps offer and would like to include licensing for the model driven Power App in the solution.
Currently I have followed along with their instructions here: https://learn.microsoft.com/en-us/power-platform/developer/appsource/publish-app. At the end of step 2: create a managed solution, it mentions ISV licensing as an optional step. When I started that process using https://learn.microsoft.com/en-us/power-platform/developer/appsource/appendix-add-license-information-to-your-solution , that is when I ran into a roadblock.
Here is a summary of what I have done and the error I encounter:
- I read through step 2 before doing anything, so when I started with any solution package it was in the first step of the appendix- add license information.
- I followed the appendix information as written, successfully generated the CSV files for the plan definition and plan mapping, and used CLI to clone the target solution (which lives in a dev environment) and to add the license files to that solution folder. All of this seemed to work just fine.
- I then used MSbuild to "create the solution zip file", per the instructions in the appendix above. I do get a zip file in the appropriate bin/Release folder. In the visual studio command line, it says this has generated a managed solution package type. The instructions then say to import this solution zip file to a clean environment, and export it as a managed solution. Of note, when I try to import it, it does correctly identify the version of my app as well as identifying it as a managed solution, not unmanaged.
- The import subsequently fails with an error "the app module with given unique name (my app unique name) was not found"
Where do I go from here? Has the process been updated? Has the MSbuild action created the managed solution with licensing information that I need to move forward with Step 3, creating the package file? I am at a loss and there doesn't seem to be much discussion on this topic.
Any help is greatly appreciated!!