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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Recreate new PROD environment in D365 F&O

(1) ShareShare
ReportReport
Posted on by 66
Hi expert,
 
I have one question, in case if I have already created the PRODUCTION environment but CONTOSO legal entities also deployed to PROD environment. 
 
How to remove the remove CONTOSO legal entities in PROD environment? 
Do I need to again create new PROD instance if yes, then how can I clean/remove older PROD environment and create new PROD environment?
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    240,312 Most Valuable Professional on at
    You don't need a complete new environment, but you need a new database. You can ask Microsoft to overwrite the current DB used in PROD.
  • André Arnaud de Calavon Profile Picture
    306,725 Super User 2026 Season 2 on at
    Hi,

    In addition to the reply from Martin, there is no support for deleting legal entities from a Dynamics 365 environment. Did you create a production environment using LCS or via Power Platform Admin Center (PPAC)?
  • VK-05090405-0 Profile Picture
    66 on at
    Thanks Martin and André.
     
    Hi André,
     
    I have created production environment using LCS but along with custom legal entities CONTOSO legal
    entries also deployed. 
     
    FYI, I have mapped Production DB from Sandbox DB during PRODUCTION environment creation using LCS.
    Hence Sandbox have also the CONTOSO legal entities along with custom LE's.
     
    Kindly suggest the solution.
     
    Thanks in advance.
  • Martin Dráb Profile Picture
    240,312 Most Valuable Professional on at
    You should fix the sandbox first and then apply the correct DB to production.
     
    Removing existing legal entities is difficult and not recommended. You didn't mention your process, e.g. if you have a golden config environment or something else as the controlled source of truth of the configuration data. If you have, you should use that as your starting point.
  • VK-05090405-0 Profile Picture
    66 on at
    Thank you Martin.
     
    First time I am doing this operation and I don't have any way to remove CONTOSO legal entities.
    Could you please suggest way to clean CONTOSO legal entities from my sandbox instance.
     
    Thanks in advance.
  • VK-05090405-0 Profile Picture
    66 on at
    Please suggest way to clean CONTOSO legal entities from my sandbox and Production instance.
     
    Thanks.

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 270 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 217 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans