knowledgecenter-breadcrum

Knowledge Center

11 Aug, 2026

How to Remove an Unmanaged Layer from a Dataverse Email Template

Posted on 11 Aug, 2026 by Rohit Bhagat, Posted in Dataverse Power Platform

Blogs

Overview

Email Templates in Microsoft Dataverse make it easy to reuse email content such as subject lines, message bodies, and dynamic fields. This helps keep email communication consistent and avoids creating the same content repeatedly.

But there's a catch: if an Email Template comes from a managed solution and someone edits it directly, Dataverse keeps the original managed component unchanged and creates an unmanaged layer for the customization. This layer can prevent future updates from the managed solution from appearing as expected.

Now let's walk through the whole thing step by step, starting with creating the template.

Step 1: Create and Import the Email Template

Let's start by creating a simple Email Template in our source (Dev) environment, and adding it to a solution.

Creating a new Email Template in Dataverse
Once the template is ready, export the solution as a managed solution and import it into the target environment.

Importing the managed solution into the target environment

 

Step 2: Modify the Email Template

Now, open the same Email Template directly in the target environment and make a small edit — for example, change a line in the email body — then save it.

Editing the Email Template directly in the target environment

This is the moment the problem starts: editing a managed component directly creates a new unmanaged layer on top of it.

Step 3: Check the Solution Layers

To confirm this, open the Email Template's Solution Layers view. You'll now see two layers: the original managed layer and a new unmanaged layer sitting on top of it.

Solution Layers view showing managed and unmanaged layers

Step 4: Try to Remove the Unmanaged Layer

Normally, you'd click Remove Active Customization to remove that top unmanaged layer and bring the managed layer back on top. But if you try this on an Email Template, Dataverse throws an error instead.

Error shown when using Remove Active Customization on an Email Template

This is the core issue this blog solves. In the next section, we'll walk through how to remove this unmanaged layer without disturbing the managed solution underneath it.

Step 5: Remove the Unmanaged Layer

Now that we know the unmanaged layer was created by modifying the Email Template directly, let's remove the customized version and restore the template from the managed solution.
Delete the Email Template from the target environment.

Deleting the Email Template record

Next, import the same managed solution again. Dataverse will recreate the Email Template from the managed solution, giving you a clean starting point with only the managed layer.
Finally, open the Solution Layers view for the Email Template to confirm the fix. You should now see only the managed layer, with no unmanaged layer on top of it.

Solution Layers view showing only the managed layer after re-import

 

Conclusion

As we saw, Dataverse won't let you remove an unmanaged layer from an Email Template using the usual Remove Active Customization option — it throws an error instead. The fix is to delete the customized template and re-import the managed solution, which brings back a clean, single managed layer with no leftover customizations on top.

Comment

This is a Required Field

Loading

Recent Updates

How to Populate Dynamic Content Using Repeating Controls in a Word Document
Blogs
20 Jul, 2026

How to Populate Dynamic Content Using Repeating Controls in a Word Document

Introduction: Organizations frequently generate documents like invoices, certificates, quotations, transcripts, inspection reports etc. While single-value fields such as Name, Email,…

READ MORE
Blogs
15 Jul, 2026

Recovering a Deleted Option Set(Choice) Value in Dynamics 365 Using Web API

The Problem Recently, we faced an interesting issue while working with the Status Reason (statuscode) field on the Contact table.…

READ MORE
Blogs
25 Jun, 2026

Dynamics CRM Testing Checklist Before Production Deployment

There are certain things in a CRM project that a QA must validate or verify before any solutions gets deploy…

READ MORE