Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Sharing managed powerapp that is deployed using azure pipelines



We have managed to deploy canvas apps and flows in a solution to another environment using azure pipelines and power platform build tools. But after deployment, we are not able to share the app with other users even if we are system administrators in the environment. Can some one help me understand why as a system administrator I am unable to share the managed canvas app with other users?


When I use the following command to change the owner of the app, I am able to then Share it with other users. But surely this is not the right way to do this: Set-AdminPowerAppOwner -AppName $app.AppName -EnvironmentName $environmentName -AppOwner $Global:currentSession.userId


Can some one give me guidance on how to deploy a solution as a managed solution to other environments and then share it with other users. What would happen if we share version of the app then re import version - will the permissions stay intact?


Feels like the whole concept of solutions and environments is a half baked and served ! 



what do you see when you go to the share menu?

hi @jlindstrom ,


When deployed through pipeline, the service application account is the owner of the app. When I access the solution as system owner of the environment, the share option is not visible. 

When I try to click on the app to play it, it takes me to one of the oob apps in my environment, rather than executing my app.

When I change the owner using the ps command mentioned above, I start seeing two solutions with the same name and the app is now available on the apps page (outside solution) as well. 




ok, so if you don't see share and you can't run the app, chances are you are not the owner of the app in the environment. It's probably owned by the account that moves the solution.


there is also a set owner action in the power apps for administrators connector you can use with Power Automate. COE starter kit also has some stuff around this

That is correct,

We are able to reset the ownership, update co ownership and share it with other users via powershell. 

Commands to use are the one mentioned above and set-adminpowerapproleassignment


This is one of the gaps in the alm capabilities for canvas apps. This will be updated to allow setting this during import of the solution in near future based on what was announced at Build. If you import a new version today it should retain ownership and sharing

Helper I
Helper I

Hi guys,

I'm facing a similar issue too.
Can the command below be added to the pipeline files for importing?
Set-AdminPowerAppOwner -AppName $app.AppName -EnvironmentName $environmentName -AppOwner $Global:currentSession.userId

Super User
Super User

Hi @vammers ,


Looks like these limitations are addressed now from the time you created this ticket.


  1. Owners of resources can edit flow and PowerApps in managed solution.
  2. If a user has access to the environment but that user is not an owner of resources of a solution, then the user can edit flow, but not PowerApps.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

My Blog: Dynamics 365 Key Topics –

My YouTube Channel :



Hello @DeviKrishna ,


Regarding your second point. In this case, changing the ownership of an app and sharing it with users should be done with a ps script? If using an SPN is a recommended approach.




I am having same issue as well - using Azure DevOp to migrate my app from Dev to Test environment and cannot share the app. Could you please elaborate on how the limitations have been addressed? 

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,761)