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)

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

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,109 Super User 2025 Season 2 on at

    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.

  • Suggested answer
    rudra Profile Picture
    6,534 on at

    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

  • pnwguy Profile Picture
    245 on at

    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
    Vilmos Kintera Profile Picture
    46,149 on at

    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.

  • Suggested answer
    bnorma01 Profile Picture
    119 on at

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