Hi,
We recently migrated our deployment pipeline into Azure DevOps using the Power Platform build tools, running into an issue with regards to canvas app ownership:
We migrate the solution from dev to test as expected, all components work just fine, except I cannot, as the system admin, access the Canvas App.
Looks like all components of the solution are 'owned' by the application user in the environment (the one connected to the service principle in Azure DevOps.)
This includes the canvas app, such that in the imported Power Apps solutions I can see:
Canvas App: MyAppName
Owner: ApplicationUser
Problem is, as the system admin for the environment, I can't access the Canvas app, as it has not been shared with me.
With the application user being a service account, I also don't know how to share the canvas app.
My workaround has been to remap ownership of the application using Power Automate. I migrate ownership from Application User -> System Admin for that environment, and then share the app in the normal way.
However, this isn't something I'd like users doing every time we have to import an upgraded solution.
Moreover, I'm unsure how changing the owner affects importing newer versions of the solution. I definitely don't want users to have to run a flow everytime a solution is imported, just to be able to access the canvas app.
Hopefully I'm missing something and would really appreciate some clarity here.
Thank you