| What it is | A periodic job that deletes old working times from calendars up to a date you choose. |
|---|---|
| What you do here | Use this periodic task to remove old calendar working hours before an end date, to keep calendar data small. |

Job page · Organization administration
A periodic job that deletes old working times from calendars up to a date you choose.
action:WorkCalendarDelete| Business process | Manage data |
|---|---|
| Menu path | Organization administration › Periodic › Calendar cleanup |
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 working times for past dates are no longer needed and nothing is scheduled on them any more. |
|---|---|
| How often | On demand, when calendar working times for past periods have built up. |
| Batch settings | Run it in the background outside working hours when many calendars are cleaned. |
| What the output shows | Calendars without working times before the date you entered. Gaps in a schedule after the run usually mean the date was set later than intended. |
Source: Microsoft Learn
Source: Microsoft Learn
Source: Microsoft Learn
| Can it be undone | No: Deleted working times can't be brought back by the job. Run it only for dates you will no longer schedule in. Microsoft Learn |
|---|---|
| If you change it later | Working hours before the end date you enter are deleted; hours on the end date itself are kept. Microsoft Learn |
| Menu item | action:WorkCalendarDelete Checked in Dynamics 365 |
|---|---|
| Form | Dialog Checked in Dynamics 365 |
| Roles to set it up and use it | To use itProduction manager ProdProductionManagerProject manager ProjProjectManagerProduction supervisor ProdProductionSupervisorProcess engineer RouteProcessEngineerService delivery manager SMAServiceDeliveryManagerGive people one of these roles. On this system, 6 roles can run this page.Checked in Dynamics 365 |
| Open it by URL | https://<your-environment>/?mi=action:WorkCalendarDelete |
|---|