Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Database refresh from ...
Finance forum
Answered

Database refresh from Production to Sandbox - Configuration restore for sandbox

Posted on by 69

Scope: Customer managed /self-service Dynamics 365 environment (Finance and Operations module)

Operation: Refreshing database from Production to Sandbox environment

Challenge:

We have environment specific data (interface parameters) which I believe will be over-written as part of the database refresh. Is there a scripted/automated approach that can be utilized to restore/update the environment specific connection data after the refresh is completed from production.

The below document states that 'The admin user must make the required configuration changes,..' but does not state how?, is that manually everytime?

docs.microsoft.com/.../database-refresh

  • The Admin user must make required configuration changes, such as reconnecting integration endpoints to specific services or URLs.

Your help is much appreciated.

Thanks, 

Ankit

Categories:
  • Suggested answer
    AK2 Profile Picture
    AK2 69 on at
    Database refresh from Production to Sandbox - Configuration restore for sandbox
    Currently, I am using Data packages to import all the configurations in the environment after a database refresh with the exception of the below values due to security reasons (not allowed by Microsoft)
    - Key Vault Parameters
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,326 Super User 2024 Season 2 on at
    RE: Database refresh from Production to Sandbox - Configuration restore for sandbox

    Hi Ankit,

    In addition to the option provided by Gunjan, you can also consider importing a data package or create a Power Automate flow to set the environment specific values.

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,419 on at
    RE: Database refresh from Production to Sandbox - Configuration restore for sandbox

    Hi Ankit Khirwadkar,

    Yes. This needs to be done every time. Depending on where you are changing the configuration, you can do that manually or check if you can write a script in SQL that can update the necessary tables. You can run this script along with the script we run to enable all the users.

  • apa Profile Picture
    apa 8,280 on at
    RE: Database refresh from Production to Sandbox - Configuration restore for sandbox

    I'm moving this to D365 Finance from D365 ProjOps for better visibility and answers.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,326 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,166 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans