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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Batch Tasks not executing

(0) ShareShare
ReportReport
Posted on by

Hello All,

We have recently moved a copy of out AX Prod environment to a new domain to build a new development environment, and I am having issues getting the batch jobs working.

What is currently happening is that Batch Jobs themselves are getting picked up and marked as executing, but the tasks in the jobs are stuck in the "ready" status.

So far, I have done the following.

1) Configured Admin > Setup > System > Server Configuration to make the new AoS servers batch servers.

2) Configured the Batch Groups to that the would run on my batch AoS servers.

3) We are running under a new service account, so I have imported the account as a user and configured Admin > Setup > System > System Service Accounts to use the new account.

I have never seen behavior like this before, so ideas on what I might have over looked would be very helpful.

Thanks,

Phil

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,078 Super User 2025 Season 2 on at
    RE: AX 2012 Batch Tasks not executing

    Hi Phil,

    The batch jobs runs under the user account of the user which created them. Do you have batch jobs with a user which is not a valid user anymore?

    Also make sure you remove the old servers in the Server configuration.

    You can try to regenerate a full CIL, then restart the AOS servers as well.

  • Iulian Cordobin Profile Picture
    8,201 on at
    RE: AX 2012 Batch Tasks not executing

    Are they coming out of the execution step? Or they are left like this indefinetely?

  • Community Member Profile Picture
    on at
    RE: AX 2012 Batch Tasks not executing

    They are stuck like this indefinitely.

  • Community Member Profile Picture
    on at
    RE: AX 2012 Batch Tasks not executing

    All of the users are still valid.

    My understanding is that we moved our AX dev environment to a new domain, but it is still able to be accessed by our original Active Directory Accounts. The permissions on SQL server are the same as in Prod as well.

    I also tried your other suggestions, but I am still seeing the same issue.

  • Iulian Cordobin Profile Picture
    8,201 on at
    RE: AX 2012 Batch Tasks not executing

    If you can I would suggest wiping all the batch jobs (axfaq.blogspot.ro/.../batch-jobs-ax-2012-wont-run-troubleshoot.html) and then add them once more.

  • Waller Walker Profile Picture
    345 on at
    RE: AX 2012 Batch Tasks not executing

    @lulian, doesn't deleting all the batch jobs hurt the system? will they regenerate..? will users need to submit actions once agian?

  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at
    RE: Batch Tasks not executing

    Hi Phil

    My suggestion is to modify the account to the batch already scheduled.

    Take a look here about how to do community.dynamics.com/.../modify-a-batch-job-39-s-created-by-user-after-it-is-saved

  • Suggested answer
    Ismael Utitiaj Profile Picture
    426 on at
    RE: Batch Tasks not executing

    You need to choose the right AOS and set like batch server. Often when we created a new instance, old data is copied in the new instance, and if you check Server configuration (Admin-Setup-System-) it display two AOS and by default the bad AOS is activate. Then check Batch Table information and verified that ServerId field value exist for your jobs. 

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans