Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Batch Jobs running as user

(0) ShareShare
ReportReport
Posted on by 395

I am wondering how I can change the user that a Batch Job is running as?  AX 2012 R1 CU3.  Thanks in advance for any help.

*This post is locked for comments

  • Suggested answer
    bnorma01 Profile Picture
    bnorma01 119 on at
  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Batch Jobs running as user

    In that case you are doing it wrong, repeating batches must not be under a regular AD account, but as a service account. Create an Active Directory service account, with a password which does not expire. Provide the necessary AX user credentials, allow log on as a service, then set up all your recurring batch jobs under that credential.

  • pnwguy Profile Picture
    pnwguy 245 on at
    RE: Batch Jobs running as user

    I know this is an old thread, but if a batch job is created by a user who is no longer with the company, is it common to do this kind of maintenance every so often of re-creating batch jobs, or is it common to create an account for batch jobs specifically?

  • Suggested answer
    rudra Profile Picture
    rudra 6,534 on at
    RE: Batch Jobs running as user

    Hi

    From Technet:

    Batch jobs are run by using the security credentials of the user who created the job.

    Also please refer the below to check in detail:-

    technet.microsoft.com/.../gg213151.aspx

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,971 Super User 2025 Season 1 on at
    RE: Batch Jobs running as user

    Hi,

    You cannot directly change the user. You can login with the correct user. Delete the old batch job and recreate it. Then it will run as this user.

    Note that it is possible directly in SQL, but that is not recommended.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans