When running the DataUpgrade Package in D365FO it stopped at step 7 with this error message:

‘Microsoft Dynamics 365 Unified Operations: Batch Management Service (DynamicsAxBatch)’

Looking in the Event Viewer Application Log I found this:

AX is shutting down due to an error. Microsoft.Dynamics.AX.Batch.BatchService+MaintenanceModeBatchStartupException: Exception of type ‘Microsoft.Dynamics.AX.Batch.BatchService+MaintenanceModeBatchStartupException’ was thrown. at Microsoft.Dynamics.AX.Batch.BatchService.OnStart(String[] args) Exception details: Microsoft.Dynamics.AX.Batch.BatchService+MaintenanceModeBatchStartupException: Exception of type ‘Microsoft.Dynamics.AX.Batch.BatchService+MaintenanceModeBatchStartupException’ was thrown. at Microsoft.Dynamics.AX.Batch.BatchService.OnStart(String[] args)

Apparently the issue was that someone had put the environment in Maintenance Mode. Here is a description on how to enable/disable maintenance mode

/Johan