Back to Blog
Published:
Last Updated:
Fresh Content
D365 Platform DecisionsChapter 15

What a Dynamics 365 F&O database refresh does not copy, and what breaks after it

5 min read
1,141 words
high priority
Mudassir Marwat

Mudassir Marwat

Founder & CEO, Cognilium AI

TL;DR

A refresh copies production into a sandbox, then disables every user, withholds every batch job, clears every secret and drops every endpoint. The checklist.

A database refresh is the most common thing an F&O environment owner does and the one with the longest list of side effects. Microsoft's page on it (ms.date 3 April 2026, updated 1 September 2026) is accurate and complete. It is also organised as prose, so the people who get burned are the ones who read it once, months ago. This article turns it into the checklist, and adds the one thing Microsoft does not say: what the list means if an AI agent runs in that sandbox.

For the person who runs the monthly refresh and takes the calls afterwards. 6 minute read.

What a refresh is, in Microsoft's words

"Use Microsoft Dynamics Lifecycle Services to refresh the database in a sandbox user acceptance testing (UAT) environment." The path is the target sandbox's Environment Details page, Maintain, Move database. The operation copies the application and Financial Reporting databases from production into the sandbox and "deletes the original target database."

Two rules sit next to the steps. "Schedule the refresh database operation during off-peak hours and limit the operation to one refresh at a time," because the copy reads production while production is working. And: "Copying production data to your sandbox environment for the purpose of production reporting isn't supported." A refreshed sandbox is a test environment, not a reporting replica.

The checklist: what the refreshed sandbox will not have

Every item below is from the refresh page's own list, grouped by who has to fix it.

Access

  • "All users except the admin are set to Disabled status." Re-enable the testers, and only the testers.
  • "All users have their partition value reset to the 'initial' partition record ID."
  • The admin account is reset to the value in web.config, which is the Lifecycle Services administrator.

Scheduling

  • "All batch jobs are set to Withhold status." Release the ones the test needs; leave the ones that would email customers or post to external systems.

Secrets

  • "All Microsoft-encrypted fields are cleared, because they can't be decrypted on a different database server." The example on the page is the SMTP password in SysEmailParameters. Every stored credential follows the same rule.

Integration

  • "Service endpoints for business events and data events are removed."
  • Dual-write must be re-linked through "Enable Power Platform Integration."
  • "The Admin user must make required configuration changes, such as reconnecting integration endpoints to specific services or URLs."

Files

  • "No file stored in Azure blob storage is copied... This restriction includes document attachments and custom Microsoft Office templates."

Scrubbed on purpose

  • Email addresses in LogisticsElectronicAddress, and the SMTP relay in SysEmailParameters, so a test cannot reach a real customer.
  • Print management settings.
  • Environment-specific records in SysServerConfig, SysServerSessions, SysCorpNetPrinters, SysClientSessions, BatchServerConfig and BatchServerGroup.
  • Dimension log and cache tables; maintenance mode is disabled; change tracking is disabled.

The conditions that refuse a refresh

  • Platform update 20 or earlier: refused.
  • Financial Reporting in the target must be at or above the source version.
  • "You can't refresh an environment from one tenant to another."
  • The refresh "affects only the application and Financial Reporting databases." Anything else attached to the environment is untouched.

What breaks the next morning, in order of how often we see it

  1. An integration that silently stopped. The endpoint was removed and the credential was cleared. Nothing errors until the first message is due.
  2. A batch job that someone released in bulk, including the one that emails statements. The scrub of email addresses is what saves you, which is why you should never "fix" the scrub.
  3. A test that fails on a missing attachment. The record is there, the file is not, because blob storage is never copied.
  4. A user who can log in to production but not to the sandbox, because the refresh disabled them and the re-enable list was built from memory.

If an agent runs in this sandbox

An AI agent that reads F&O does so as a user, under a security role, usually through a registered application and often through a business event or data event endpoint. Read the checklist again with that in mind: after a refresh its user is disabled, its endpoint is removed and any stored secret is empty. That is the correct outcome, and it means the agent's sandbox setup is a repeatable script, not a one-time configuration. In our own builds, re-registering the agent's access after a refresh is a step in the runbook, not an incident. If your partner or vendor has not written that step down, ask for it before the next refresh.

Is the refresh moving to the Power Platform admin center?

The refresh page itself does not mention the admin center. The unified admin experience overview (ms.date 10 September 2026) maps the Lifecycle Services "Database refresh" to the admin center's "Copy", with one difference worth knowing: in Lifecycle Services the operation "only copy data," while in Power Platform "code is always copied with data." For an environment migrated to the admin center under the September 2026 preview, the refresh you know becomes a copy that also carries code. Plan the test cycle around that before migrating a sandbox.

What to do this week

  1. Turn the list above into a refresh runbook with an owner per line: who re-enables users, who releases which batch jobs, who re-links dual-write, who re-registers each integration and each agent.
  2. Record the refresh date on the sandbox. It resets the sandbox's seven-day backup window.
  3. Stop recurring data management jobs before the refresh and schedule it off-peak, one at a time.
  4. If a sandbox is about to be migrated to the admin center, run one refresh afterwards as a test, because copy-with-code is a different operation.

Sources

  • Microsoft Learn, "Database refresh", ms.date 2026-04-03, updated 2026-09-01: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/database-refresh
  • Microsoft Learn, "Unified admin experience for finance and operations apps", ms.date 2026-09-10: https://learn.microsoft.com/en-us/power-platform/admin/unified-experience/finance-operations-apps-overview
  • Microsoft Learn, "Migrate finance and operations environments from Lifecycle Services to Power Platform admin center (preview)", ms.date 2026-09-22: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/lifecycle-services/migrate-lifecycle-services-environments-power-platform-admin-center
  • Microsoft Learn, "Database movement operations home page", ms.date 2026-04-03, updated 2026-09-01: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/database/dbmovement-operations

All read 22 October 2026.

Share this article

The work behind this series

Which platform carries which capability, what the licence actually covers, and what each release wave changes.

Mudassir Marwat

Mudassir Marwat

Founder & CEO, Cognilium AI

Mudassir Marwat's argument is that ERP systems record decisions they never optimise.

Founder & CEO of Cognilium AI; 37 AI agents in production across four products; 4 production AI products built and operated; three clouds in production (AWSGCPAzure)
Agentic AIRAG → GraphRAG retrievalVoice AIMulti-Agent Orchestration
In short

Key takeaways

  • A refresh copies the application and Financial Reporting databases only, then disables users, withholds batch jobs, clears encrypted fields, removes event endpoints and skips every file in blob storage.
  • Off-peak, one at a time, never for production reporting: three rules on Microsoft's page.
  • Any agent or integration in the sandbox has to be re-registered after every refresh. Make it a script.
  • After migration to the admin center the refresh becomes a copy that carries code as well as data.
What goes wrong

Common mistakes to avoid

  • Re-enabling all users and releasing all batch jobs in one go, which undoes the scrubbing that protects real customers.
  • Rebuilding the re-enable list from memory each month instead of from the page.
  • Using a refreshed sandbox as a reporting copy of production. Microsoft states it is not supported.
  • Assuming the refresh is identical after migrating to the admin center. It is a copy, and copy includes code.

Terms in this article

Definitions in the Cognilium glossary.

Frequently Asked Questions

Find answers to common questions about the topics covered in this article.

Microsoft does not publish a duration for refresh. The database movement overview says these operations "can take up to 24 hours" and cannot be cancelled once started, and the target goes offline without warning. Plan for the worst case.
A sandbox-to-production move is a separate operation with its own rules; among them, batch history is not copied. It is not the refresh described here.
No. Nothing in Azure blob storage is copied, including attachments and custom Office templates.
Because business event and data event endpoints are removed and every encrypted credential is cleared. Both are by design; both have to be reconfigured.

Still have questions?

Get in touch with our team for personalized assistance.

Contact Us

If you own this environment

Any agent we build runs inside the tenancy you administer, under your security roles, your environments and your approvals, and nothing leaves it. Before one touches production, the readiness review lists what it needs from you and what it must never be allowed to do.

Personalized for You

Curated content recommendations based on your current reading and interests.

Trending
124%

How long does Dynamics 365 F&O keep your backups, and who can restore production?

Same topic cluster: D365 Platform Decisions
Same author: Mudassir Marwat

Microsoft keeps backups 28 days for production, seven for sandboxes. What a point-in-time restore does, its downtime, and what it never brings back.

Mudassir Marwat
6 min read
D365 Platform Decisions
Read Article
Trending
34%

Does Dynamics 365 match product receipts to invoices automatically?

High priority content
Similar reading time

Yes, in the background, hourly or daily, where a three-way policy exists. It also has a retry limit, so some lines stop being tried altogether.

Ali Ahmed
5 min read
Procure-to-Pay Agent Operations
Read Article
Trending
124%

Migrating an F&O environment from LCS to the Power Platform admin center: what the preview moves

Same topic cluster: D365 Platform Decisions
Same author: Mudassir Marwat

Microsoft's self-service migration moves F&O environment management out of LCS, one way, about 15 minutes of downtime per AOS. Sandboxes first.

Mudassir Marwat
5 min read
D365 Platform Decisions
Read Article
Trending
117%

Is "Dynamics 365" one product?

Same topic cluster: D365 Platform Decisions
Same author: Mudassir Marwat

No. Microsoft describes Dynamics 365 as a set of applications you choose one, some, or all of. The useful part is what the umbrella contains — two ERPs, a family of customer engagement apps, and Power Platform underneath — and where the seams between them fall.

Mudassir Marwat
6 min read
D365 Platform Decisions
Read Article
Trending
112%

Which Dynamics 365 regions can you actually deploy into?

Same topic cluster: D365 Platform Decisions
Same author: Mudassir Marwat

Microsoft publishes the list of Azure regions where finance and operations apps run, and it is current as of 23 July 2026. The list is the easy part. Three different decisions get called "the region question" — the Azure region, the macro region geography that governs data residency, and the country localization driven by a legal entity's primary address — and they are answered on three different Microsoft pages.

Mudassir Marwat
7 min read
D365 Platform Decisions
Read Article
Trending
109%

AL or X++ — what building on each ERP actually commits you to

Same topic cluster: D365 Platform Decisions
Same author: Mudassir Marwat

Two languages, two extension models and two separate Microsoft Marketplace offer types. Finance & Operations bans overlayering outright and Business Central is additive by construction — but X++ commits you to Chain of Command and its rules about the next keyword, while AL commits you to the object model and the .app package. What travels between them is the engine, not the binary.

Mudassir Marwat
9 min read
D365 Platform Decisions
Read Article

Smart Recommendations

Our AI analyzes topic clusters, author expertise, and content relationships to surface the most relevant articles for you.

Topic Matching
Author Expertise
Content Quality
Personal Interests

Questions on this?

Talk to an engineer

Schedule a call