Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Recreate new PROD environment in D365 F&O

(1) ShareShare
ReportReport
Posted on by 64
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?
  • VK-05090405-0 Profile Picture
    VK-05090405-0 64 on at
    Recreate new PROD environment in D365 F&O
    Please suggest way to clean CONTOSO legal entities from my sandbox and Production instance.
     
    Thanks.
  • VK-05090405-0 Profile Picture
    VK-05090405-0 64 on at
    Recreate new PROD environment in D365 F&O
    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.
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Recreate new PROD environment in D365 F&O
    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
    VK-05090405-0 64 on at
    Recreate new PROD environment in D365 F&O
    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.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,642 Super User 2024 Season 2 on at
    Recreate new PROD environment in D365 F&O
    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)?
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Recreate new PROD environment in D365 F&O
    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.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans