web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

I am trying to push a new build, but it keeps failing at step 16.

(0) ShareShare
ReportReport
Posted on by

I am trying to push new build to my d365.

It keeps failing at step 16 , shared below is data from runbook.

<StepID>16</StepID><Message>The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to start service 'Microsoft Dynamics 365 Unified Operations: Batch Management Service (DynamicsAxBatch)'.</Message>

Any idea why its failing and what should be done to fix it.

Also note that even  rollback fails with same error as above.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mav Profile Picture
    on at

    Pls ignore this I figured out the solution myself.

    For anyone facing same issue, please note that this happens when your AOS manintenance mode automatically turns on.

    To fix it , you need to first login to your AOS and at power shell enter the below command to turn the maintenance mode off and resume the build.

    Doing that fill fix the update.

     G:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir G:\AosService\PackagesLocalDirectory --bindir G:\AosService\PackagesLocalDirectory\Bin --sqlserver sql server name --sqldatabase sqldatabase name --sqluser sql username--sqlpwd sqlpasswd  --setupmode maintenancemode --isinmaintenancemode false  

    that is the command i ran on the AOS server.  ran it in PowerShell

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans