cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vammers
Frequent Visitor

Sharing managed powerapp that is deployed using azure pipelines

Hi,

 

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 1.0.0.1 of the app then re import version 1.0.0.2 - will the permissions stay intact?

 

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

 

5 REPLIES 5
jlindstrom
Super User
Super User

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. 

 

Regards,

Vammers

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,353)