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, ...
Unanswered

Batch job history log button security permissions for a custom role

(0) ShareShare
ReportReport
Posted on by 1,424

Hi Community!

I am facing an issue while configuring a security permission for Log button on Batch job history form for a custom role. The requirement is user with custom role should be able to view Log messages for any batch ended in error. 

System administration > Inquiries > Batch jobs > Batch job history

Clicking Log button runs a form method element.showLog() which gets data from BatchHistory and BatchJobHistory tables.

BatchJobHistory::showLog(batchJobHistory.RecId)

I have configured security privileged like below which is added to duty then role then to user.

7180.Permissions.png

User with custom role can see the Log button but when clicks the button, it doesn't show any of the error messages for failed batches. Any thoughts what I am missing here?

Batch-job-history-form.png

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Does it shows info message for passed(Status: Ended) batch job history records.?

    Secondly, can you please check if the batch job has configuration to save logs on Error ?  

  • M Anas Khan Profile Picture
    1,424 on at

    We can see the log for failed batches with sysadmin role but not with custom role. And system doesn't show any log for successful batches even with sysadmin role. So I guess this is standard, haven't checked the technical details though.

  • André Arnaud de Calavon Profile Picture
    301,069 Super User 2025 Season 2 on at

    Hi Muhammad,

    Does the user still have the System user role assigned? Initially, I would think the privilege is setup correctly with form, table and button access. The additional table permissions might not be required as there is already access to them via the form permissions, but is OK.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    I want to comment on this line "And system doesn't show any log for successful batches even with sysadmin role."

    It can be possible that in the configuration of the batch job, notifications of info type have been disabled. For every batch job you can enable/disable the three types of the notifications i.e. Errors, Warnings, Info 

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