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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Batch Job Status "Error"

(0) ShareShare
ReportReport
Posted on by 185

I made a batch job using system classes but they have a status "Error" , when i checked the log I am getting the error of Access Denied for the classes. Please Guide me on this. Thanks.

Community-Forum-3.png

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    That's a security issue, either give batch user system admin or fix security, here is an example how to do this https://community.dynamics.com/365/financeandoperations/b/axdilip/posts/troubleshooting-error-access-denied-to-method-transfer-of-class-ledgerpostinggeneraljournalcontroller

  • bilal170795 Profile Picture
    185 on at

    Its not working, I add the server method but unable to find my class in the list.

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    It should be there, anyway you can create dedicated account only for batch operations, give him sys admin rights and use it to run the batch.

  • bilal170795 Profile Picture
    185 on at

    Yes you are right, It was in the list i just have to refresh the client side. But the problem is still there it still giving the error and Access Denied.

    Community-Forum-4.pngCommunity-Forum-5.png

    [quote user="ievgen Miroshnikov"]

    It should be there, anyway you can create dedicated account only for batch operations, give him sys admin rights and use it to run the batch.

    [/quote]
  • Mea_ Profile Picture
    60,284 on at

    You had an issue with subledger now you show SRS, is it the same issue or new one ? What has happened with sublesger? 

  • Suggested answer
    Jay Barot Profile Picture
    1,502 on at

    Hi Bilal,

    Please check the access you have added should have access level "Delete" means full control.

  • bilal170795 Profile Picture
    185 on at

    I have the problem with my three batch jobs and three of them has the same problem of access denied, while all of them still showing the problem.

  • bilal170795 Profile Picture
    185 on at

    From where I will set access level.

  • Jay Barot Profile Picture
    1,502 on at

    Please go through below link for better understanding of Access levels.

    docs.microsoft.com/.../security-privilege-properties

  • ergun sahin Profile Picture
    8,826 Moderator on at

    You probably already have a user for batch jobs. Look at the user who installed the other batch jobs and re-install the batch job with that user.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans