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.
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?
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
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2