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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Removing Fields From Entities - Process Check - Please Help!

(1) ShareShare
ReportReport
Posted on by 4

Hi Experts,

I am working with a client that is looking to clean up their current Dynamics CRM 2015 on-premises environments in preparation for migration to the cloud.  They are validating the entities / fields utilized by the business with a goal to remove and clean up any erroneous fields and entities not utilized and verify before starting the migration effort.

Here is the situation...  All of the Solutions in their current environment are "unmanaged" with the fields existing in all environments in this fashion.   With this said, If I want to delete a field I figured I will not be able to do this through a managed solution because the field already exists in the Default solution since everything was deployed as unmanaged.    

I am planning to following this approach to accomplish the customer's business requirements.

Example - Removing a custom field for "Customer Segment" from Account Entity

Now this would happen for many fields, not one at a time but trying to represent the process flow...

Step 1 – Remove Dependencies & Prefix Field

Remove the dependencies on the field including reports, forms, views, etc.  Change the Display Name on the field to “D – Customer Segment”.  Verify in Development environment.

Step 2 – Backup Test Environment

Backup the test environment in case any issues with the promotion of the solution (since it will be an unmanaged solution and no “backout” would exist)

Step 3 – Promote Unmanaged Solution

Promote the unmanaged solution to the target environment (i.e. Test) and verify the changes work as expected with the fields removed from all forms, views, reports, workflows, etc.  The field should be changed with this migration to a display name of “D-Customer Segment” as well.

Step 4 – Remove “D-Customer Segment” field

Remove the field from the target environment in the default solution manually which will remove the field from the default solution. 

Step 5 - Verification

Verify the target environment that all dependencies to this field that still exist work as planned.

Step 6 - Remove field from Source environment

Remove the fields from the Source environment.  My thought here is we would delete the fields from the source environment as well when complete (or we can copy the solution from Target down to Source? 

 I really appreciate any feedback on this as I want to follow the right approach here.  

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    Your solution is good and safe. I would add one thing to it. In the source dev environment, create a solution called CleanUpSolution and add those fields you want to remove to it. Don't promote a solution that has other changes in it (other than what you want to cleanup). This is just an extra step to contain your changes and make them visually separate from the rest. 

    Thanks

  • Drew Poggemann Profile Picture
    4 on at

    Exactly.  I was going to have a solution that is focused on the cleanup.

  • ScheumanRJ Profile Picture
    76 on at

    Drew.  

    Thanks for posting this.  It confirms the steps that I need to take to delete unused fields from three environments (Dev, Test, Prod) where unmanaged solution are being deployed.  Would I follow a similar approach to delete unused custom entities?

  • Drew Poggemann Profile Picture
    4 on at

    Yes, that is what I did.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans