Power Apps Portals are incredibly useful as the landing pad for external users, but it would be helpful if there were some way to more fully bring the power of canvas apps to Portal users by allowing app makers to automatically purchase and assign licenses to Portal users based on an action performed by a Portal user.
Here is an example from my desired use-case:
An ISV creates a Portal and embeds a canvas app in the Portal. The ISV programs the Portal so that, when a Portal user signs in and inputs a code in a Portal form, a workflow is triggered that purchases a Per App license in the tenant and assigns it to the Portal user’s account, granting that user 1 month’s access to the embedded canvas app.