Skip to main content
Community site session details

Community site session details

Session Id : 6WPNUuSdFcg6Gtukn9wbJp
Power Apps - Power Apps Governance and Administ...
Unanswered

Restrict Sharing in Environments

Like (0) ShareShare
ReportReport
Posted on 2 May 2024 12:03:50 by 36

Hi Community,

 

we disabled sharing of apps in our default environment. 

However, we would also like to do this in all trial/developer environments. 

 

Is there a power automate action to do achieve this? Where can I find the properties in the admin panel? Or are managed environments necessary?

Does switching to Managed Environments affect license structure? (E.g. no premium license but in the managed environment, there is only a solution which connects an app to a sharepoint list)

 

I found a PS Command Tutorial for the default one here: https://debajmecrm.com/how-to-prevent-sharing-of-apps-in-power-platform-environment/

However, we are not able to setup a CLI interface like that - can we imitate the action in power automate?

Another solution would be a copy of the system admin role without sharing rights - but do we have to set this role up for EVERY environment manually?

 

 

Thank you already in advance. 

Categories:
  • BennyS27 Profile Picture
    36 on 06 May 2024 at 11:56:42
    Re: Restrict Sharing in Environments

    Full-premium is not an option currently I think. 

    Okay, that is bad also for governance reasons that restricting this cannot be enabled easily. 

    Do you think there is a way to automate this? Having a power automate flow which is disabling the "sharing" permission on the canvas app table? I have not found any API endpoint to do so yet.

     

    Same question goes to the "Microsoft Teams" environments and if there is a way to restrict sharing there but probably is the same. 

     

    Or maybe from a different perspective:
    Is there a way to create a new global security role which will be available to all environments?

  • Kuhlani Profile Picture
    82 on 04 May 2024 at 02:16:46
    Re: Restrict Sharing in Environments

    You can disable the "share" permission on the canvas app table of the environments for specific security roles you're targeting, such as Environment Maker (haven't tried it with Trial and/or Developer SKUs) - However, whatever you do will be manual for each environment unless you control the creation and create/setup developer environments for each user, which will be MORE manual work. 

     

    Managed environments + Groups will relieve the overhead. All apps/flows will be premium when used and you will have more automated rules/controls not just sharing. You can limit the sharing to one user for example, so each developer environment is used for personal development/training only. This is a plus if your organization uses premium licenses already. If not, it is a tradeoff to think about/evaluate. 

     

    Environment groups (preview) - Power Platform | Microsoft Learn

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Featured topics