Block Unmanaged Customizations in Power Platform Environments

This post is all about how to block unmanaged customizations within production environments. I’m going to assume that you have followed the advice of creating a Development, Test, UAT and Production environment. And that each of these environments should be treated in a very different way.

Environments

Within Development environments developers can update their Power Platform solutions. Test is used by developers to test out the deployment processes and their developed solutions. UAT is for users/testers to go through their acceptance testing and Production is where the end product will be used. I’ve seen organisations with separate environments for Training and Production Testing as well.

Microsoft offers a variety of environment types which you can select when you create a new environments. Don’t worry if you select the wrong environment, you can always change this later

Dropdown menu for selecting environment type with options including Sandbox, Trial (subscription-based), Developer, Production, and Trial.
Block Unmanaged Customizations in Power Platform Environments 1

Solutions

So, you have your environments setup and decided to use solutions to package all the objects (tables, apps, flows etc) that you have developed read for deployment to the various environments.

You’ve also understood that Development uses unmanaged solutions (can be modified) and managed solution (cannot be modified).

Well, in my production environment, I’ve deployed my managed solution and the edit option has been greyed out.

Screenshot of an overview page displaying details about a demo solution including the display name, package type, publisher, and version. It also shows the solution status overview with no actions available, a section for recent items listing apps and flows, and options for editing and managing the search index.
Block Unmanaged Customizations in Power Platform Environments 2

But when you go to the flow details, you will find that the Edit button is enabled and the flow is simply editable.

Screenshot of the Power Automate interface showing details of a flow, including options to edit, share, and track automation impact, with statistics about time saved.
Block Unmanaged Customizations in Power Platform Environments 3

And you might see the following warning

This flow cannot be updated because the managed properties of this solution component do not allow customizations.

Screenshot of Microsoft Power Automate interface showing a flow configuration with a warning message about customization limitations and a 'Compose' action with input parameters.
Block Unmanaged Customizations in Power Platform Environments 4

But changes will be made when we publish our flow as we can see below. In this post I will look at how we can Block Unmanaged Customizations

Screenshot of a flow creation interface showcasing the 'Compose' action with parameters and input options in a workflow application.
Block Unmanaged Customizations in Power Platform Environments 5

You are likely to be aware that this will create an unmanaged layer.

Unmanaged layer in solution. How do we Block Unmanaged Customisations
Unmanaged layer in solution. How do we Block Unmanaged Customizations

Unmanaged layers can be useful to quickly put a fix in, but … Editing anything directly in Production is not a good idea. Even if it looks like just a small change. Remember you can always deploy a Solution Patch as you could rollback those solutions if you needed to.

Block Unmanaged Customizations

As a system administrator, you might want to block unmanaged customizations in production environments. Development environments can be open as they are, for Test and UAT environments you could go either way as it might be useful to quickly check if a fix would deliver the correct system behaviour. But for Production systems the option for unmanaged layers should really be removed.

To Block Unmanaged Customizations, visit the Power Platform Admin Center, then select the environment that you want to update and then select Settings.

Screenshot of the Power Platform admin center showing the 'Manage' section with details on environments, their settings, and access permissions.
Block Unmanaged Customizations in Power Platform Environments 6

Under Product select Features.

A screenshot of a settings menu in a software interface, displaying options for managing environments, products, email settings, integration, data management, encryption, and user permissions.
Block Unmanaged Customizations in Power Platform Environments 7

Then search for the Block unmanaged customizations setting and enable it.

Settings panel for blocking unmanaged customizations in Dataverse, featuring a toggle switch set to 'Off'.
Block Unmanaged Customizations in Power Platform Environments 8

Putting it to the test

I’m going to reopen my solution, I’m editing the flow again and now I will get the following warning when I try to publish my flow

This environment doesn’t allow unmanaged customizations. This was a choice made by your admin, and certain actions won’t be available or will be view only. Learn more: https://go.microsoft.com/fwlink/?linkid=2251006

So what does this feature block?

  • Unmanaged solutions in the environment
  • Creation of new apps, flows, tables etc
  • Creation of unmanaged layers

You can however still update the values of environment variables.


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Related Posts

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading