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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans