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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to enable trace log for the JS Code, Workflow, Action and other events in dynamics 365

(0) ShareShare
ReportReport
Posted on by 23

Hello Experts,

I just t wanted to know that how can trace errors in dynamics 365 for OOB and js errors. I'm able to enable get plugins errors and also able see the log for plugin but I don't have any idea about JS and OOB Workflow, Dialog, Actions and others actions. Please do let me know how can fetch details of errors if any.

thanks.

I have the same question (0)
  • Rahul Rathore Profile Picture
    23 on at
    RE: How to enable trace log for the JS Code, Workflow, Action and other events in dynamics 365

    Thanks Leo.

  • Verified answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: How to enable trace log for the JS Code, Workflow, Action and other events in dynamics 365

    Hi,

    You can use  Azure Application Insights to capture all the JS errors. Please refer to this blog:

    dilipkumarcrm.wordpress.com/.../

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: How to enable trace log for the JS Code, Workflow, Action and other events in dynamics 365

    Hi partner,

    1.Unfortunately there is no OOB way to trace JS code in D365, if you want to find the error, you could debug the code with browser developer tools.

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/debug-javascript-code

    2.If you want to trace workflow and other actions, you could go to Advanced Settings->System Jobs.

    pastedimage1585289226230v1.png

    Here you can trace all the system jobs running in D365 with status, regarding records and many other information.

    https://docs.microsoft.com/en-us/power-platform/admin/monitor-manage-system-jobs

    Hope it helps.

    Best Regards,

    Leo

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 338

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 87 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans