A high-volume third-party logistics tenant used 900.41 GB of D365 Operations database on November 4, 2026. The target is 350 GB by January 2027, with three months of active data in D365, a slimmer archive in D365, permanent history in Microsoft Fabric, and one of two sandboxes retired. This is a case study in progress, and we'll publish the result when it's measured.

Two sandboxes held almost half of the 900.41 GB: 326.19 GB and 113.31 GB, next to 460.91 GB in production. Production, the other half, is mostly the data of two custom add-ons, the 3PL and Freight Reconciliation solutions, and it grows every day this third-party logistics (3PL) business operates.

Database capacity series. Part 1, how license cuts shrink the allowance; Part 2, the LCS to PPAC capacity check; Part 3, where the space goes in four databases; Part 4, what to delete, copy, archive or keep; Part 5, a 3PL tenant on its way from 900 GB to 350 GB.

In plain words: a 3PL records every billable warehouse and transport activity for its customers, so its D365 database grows every day. Most of that history is never opened again in D365, but it still has to exist somewhere, and the business reports on it. The project keeps recent data in D365 and moves the rest to Microsoft Fabric, the analytics platform, where it doesn't count against the D365 allowance.

Part 5 in about three and a half minutes: what the assessment found, the three layers running today, and what's left. Watch it on its own page, with chapters →

Scope

ItemDetail
BusinessThird-party logistics, high transaction volume
SystemD365 Supply Chain Management and Finance with custom 3PL and Freight Reconciliation add-ons
EnvironmentsProduction and two sandboxes; one sandbox is being retired
Operations database, November 4, 2026900.41 GB
Target350 GB by January 2027
StatusArchiving and synchronization running daily; target not yet reached

The three environment figures add up to 900.41 GB; the PPAC summary for the same day shows 900.35 GB.

Donut chart titled Almost Half of It Is Sandboxes, Operations database by environment, November 4, 2026. 900.41 GB in use: production 460.91 GB, sandbox 326.19 GB, sandbox 113.31 GB. Center: 49% in two sandboxes.
One of the two sandboxes is being retired; production and the other are being cleaned.

What we found

The project started with an assessment, and the numbers explain the design. At the time, the two add-ons' own tables were 365.6 GB of 416.8 GB in production, 87.7%. In the sandbox copy we analyzed, the whole general ledger was under 1 GB. Production was most recently growing about 31 GB a month, measured between two exports 5.5 weeks apart; an earlier measurement had it at about 16.5 GB a month.

Three cards titled Why a One-Off Cleanup Wasn't the Answer, from our earlier assessment of the same tenant. Custom add-ons' share: 87.7%, 365.6 GB of 416.8 GB in production was the 3PL and Freight Reconciliation add-ons' own tables. Modeled one-off saving: 166.2 GB, the expected scenario for production, most of it needing retention decisions and code. Until growth erases it: 5.4 months, at about 31 GB a month, measured between two exports 5.5 weeks apart. Note: without a process that moves data out every day, a cleanup buys a few months.
A one-off cleanup was modeled at 166.2 GB. Growth would have erased it in about 5.4 months.

The assessment found the usual technical debt too: three standard cleanup routines that had never run, a sent-email retention of 0 days, which keeps email history forever, a custom cleanup job that was failing, and an add-on archive purge that hadn't run since shortly before the sandbox copy. The only observed comparison was between two sibling sandboxes: the one with a purged staging history was 29 GB, or 39%, smaller. That's two different systems, not a before and after, but it pointed in the right direction.

It also showed the allowance problem. On the capacity summary in PPAC, the tenant's Operations database usage is 900.35 GB against the 255 GB its licenses provide, about 3.5 times as much. With Dataverse added, it's 1,025.42 GB against 362.15 GB. Part 1 works through how its licenses produce that allowance.

Power Platform admin center capacity summary for the tenant, last updated November 4, 2026. Database: 1 TB of 362.15 GB, in red; Dataverse database 125.07 GB, Operations database 900.35 GB. File: 323.44 GB of 434.81 GB. Log: 241.94 MB of 5.28 GB. A bar chart of daily prepaid database usage, month to date, shows totals around 1,000 GB for November 1 to 4, mostly Operations with a smaller Dataverse part. A tip suggests managing overages with pay-as-you-go or a capacity extension.
The tenant's capacity summary. Most of the database usage is Operations.

What we built

Three layers, each holding a record for a different part of its life.

Diagram titled Three Places for One Record, Depending on Its Age. Layer 1 in D365, active data: about 3 months, what the operation needs every day, with all of its indexes and views. Layer 2 in D365, archive tables: about 1 year today, about 3 months targeted, still in the system with fewer indexes, a buffer if the lake is unavailable for a while. Layer 3 in Fabric, permanent history: everything older, kept independently of D365, reporting through Power BI. Controls: daily archive and cleanup jobs in D365; incremental sync to Fabric several times a day; record counts compared with Fabric before every delete; alerts to technical staff and managers on any failure.
The design running today. Layer 2 is the one still being shortened.

Two controls make the delete safe. Before any truncation, a notebook compares record counts between D365 and Fabric. And every failure sends an email to the technical team and to business managers, because executive reports depend on that data arriving on time. Retries and the D365 archive buffer cover short interruptions.

ℹ If you read one line

The archive isn't a cleanup. It's a process that runs every day, because this database grows every day.

Where it stands

The table view in PPAC shows why layer 2 matters. In the environment shown, one add-on's archive table is the largest in the database at about 88 GB, bigger than the live activity table next to it at about 64 GB. Shortening the archive from about a year to about three months is the biggest single step left.

Power Platform admin center table view for one finance and operations environment of the Part 5 tenant, with the environment name and the custom table names hidden. A side panel titled Finance and operations database usage offers View as chart and Export to CSV and lists tables by consumption. Eight custom add-on tables lead, the largest at 90,383.2 MB. Standard tables follow: PURCHPURCHASEORDERLINEV2STAGING at 13,934.41 MB, SYSOUTGOINGEMAILDATA at 10,437.2 MB, BATCHHISTORY at 5,592.312 MB and SYSENCRYPTIONLOG at 3,565.906 MB.
That archive table, at the top with its name hidden, is what the shorter archive window will shrink.
Bar chart titled 900 GB Today, 350 GB by January 2027, Operations database usage in three environments, snapshot from November 4, 2026. Today, production and two sandboxes: production 460.91 GB, sandbox 326.19 GB, sandbox 113.31 GB, total 900.41 GB. Target, production and one sandbox: 350 GB. Note: 550.41 GB to go; with one sandbox left, production and that sandbox have to average 175 GB each; a sandbox refreshed as a full copy comes back at production's size, so production has to get small first. Even at 350 GB, the tenant is about 95 GB above its 255 GB Operations allowance.
One sandbox goes; production and the remaining sandbox both get cleaned.

The plan to get there has three parts: retire one of the two sandboxes, shorten the archive window in production, and bring the remaining sandbox down with production. With two environments left, they have to average 175 GB each. Because a sandbox refreshed as a full copy of production arrives at production's size, the order matters: production gets small first.

350 GB doesn't end the overage. It's still about 95 GB above the tenant's 255 GB Operations allowance, so the plan also has to decide how that last part is covered: more capacity, or a shorter window still.

! Be honest about the limits

The 350 GB is a target, not a result. The archive length is still being agreed, because the client's view is that about 13 months must stay in the system, and whether a Fabric copy satisfies that is a legal question, not a technical one. We'll publish the measured number from PPAC when the project reaches it.

What would carry over to your tenant

✓ Bottom line

For a database that grows by tens of gigabytes a month, a one-off cleanup is a delay, not a fix. What works is a daily process with a short active window in D365, a buffer, a reconciled permanent copy outside the allowance, and alerts that reach the people who depend on the reports. It applies to your tenant if one custom data family dominates the space and the business can agree on how long it stays.

Frequently asked questions

Why not just buy more capacity?

Buying is always an option, and it's a recurring charge. Here the database was most recently growing about 31 GB a month, so the bill would have kept rising. Moving history out every day is designed to stop the growth and shrink the overage, though at 350 GB this tenant still needs about 95 GB more than its licenses provide.

Is data in Fabric still in the system for retention purposes?

That's a legal question for your counsel and auditors, not a technical one. The design keeps a buffer in D365 and a reconciled permanent copy in Fabric, but whether the copy satisfies a specific retention rule depends on the rule.

What happens if the Fabric sync fails?

Nothing is deleted in D365 until record counts match, the D365 archive holds enough history to cover an interruption, and failures alert both the technical team and business managers.