web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Restrict Sharing in En...
Power Apps
Unanswered

Restrict Sharing in Environments

(0) ShareShare
ReportReport
Posted on by 40

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. 

I have the same question (0)
  • Kuhlani Profile Picture
    82 on at

    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

     

  • BennyS27 Profile Picture
    40 on at

    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?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard