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

Announcements

No record found.

News and Announcements icon
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,664 Super User 2026 Season 1 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
    305,150 Super User 2026 Season 1 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,664 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 802

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 636 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans