BeyondERP.Newsletter
Menu

Setup step on the Data maintenance page · System administration

Pause data maintenance around maintenance mode

Keep data maintenance actions from blocking schema changes made in maintenance mode.

Business process
Administer system features
Menu item
DataMaintenancePortal
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA page (the Data maintenance portal) that lists actions that find or fix data inconsistencies, with the latest status of each.
What you do hereIt is used by system administrators to schedule or run these actions.
ExampleFor example, the Free text invoice and Sales invoice jobs clean up temporary invoice report data every day, keeping 30 days by default.
Data maintenance page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen you want to find or fix data inconsistencies, or when Microsoft Support asks you to run a direct action.
How oftenScanning and fixing actions run a few times a day once they are scheduled; direct actions run on demand.
What the output showsThe latest status of each action. Fixing actions might not repair all data in one run, so a problem that is still reported after the first run is expected; it should shrink over the following runs.

Source: Microsoft Learn

Setup steps on this page

Pause data maintenance around maintenance mode

Keep data maintenance actions from blocking schema changes made in maintenance mode.

Steps from Microsoft

  1. Go to System administration > Periodic tasks > Data maintenance.
  2. Review the list of actions and the latest status of each. Direct actions run only on demand, Scanning actions look for problems a few times a day, and Fixing actions schedule a fix a little at a time.
  3. Select an action and read the information in the right panel before you start it.
  4. Select Schedule, when it is offered, to let the action run on its own cadence, or select Run now to run it on demand.
  5. Before maintenance-mode work such as a package deployment, set a sleep period for the two data maintenance background processes on Process automations and cancel running data maintenance jobs; remove the sleep period afterwards.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
DirectActions that run only on demand.Microsoft Learn Clearing a cache without downtime
ScanningActions that search the data a few times a day for problems.Microsoft Learn
FixingActions that schedule a fix when they find a problem, a little at a time.Microsoft Learn

Common errors and fixes

MessageWhat to do
A package deployment or license key change times out or failsData maintenance jobs were running and blocked tables. Set sleep periods on the two data maintenance background processes and cancel running data maintenance jobs before maintenance mode. Microsoft Learn
A fixing action still reports the problem after its first runFixing actions fix a subset of data on each run; the problem shrinks over the following runs. Microsoft Learn

Test checklist

  1. Open Data maintenance and note the latest status of each action.
  2. Select a scanning action and read the right panel.
  3. Before a maintenance-mode change, set a sleep period on both data maintenance background processes and check no data maintenance job runs in Batch jobs.
  4. After the change, remove the sleep periods and check the actions run again.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Pause data maintenance around maintenance modeSet a sleep period on both data maintenance background processes and cancel running data maintenance jobs before any maintenance-mode change; remove the sleep afterwardsLearn: data maintenance jobs can block tables and cause timeouts or failures during package deployments, updates, license key changes and dimension activation.How is data maintenance handled during maintenance mode?Forgetting to remove the sleep period after the change, so scanning and fixing actions stop for good.Test: Data maintenance pauses and resumes

Feature management and licence

Licence or add-inNo Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyEnvironment-wide: the portal lists the system actions defined by Microsoft for the environment; you can't enable or disable them. Microsoft Learn
Can it be undoneReversible: Sleep periods can be removed; direct and fixing actions change data and aren't undone.
If you change it laterPause data maintenance before maintenance-mode changes such as package deployments or license key changes, because the jobs can lock tables. Microsoft Learn
Technical architect

6Technical

Menu itemDataMaintenancePortal Checked in Dynamics 365
FormDataMaintenancePortal Checked in Dynamics 365
Who can open itPrivilegesData maintenance portal DataMaintenancePortalChecked in Dynamics 365
Actions on the pageOptions: Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=DataMaintenancePortal
Data migrationLoad order: Data maintenance has no data entity in Data management, so it can't be loaded from a file or a configuration template. The actions are defined by Microsoft and come with the application.Checked in Dynamics 365
Everyone

8Sources

To cite this step: SA-JOB-855, Pause data maintenance around maintenance mode. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/SA-JOB-855