Skip to main content

Notifications

Announcements

No record found.

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 11

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.

  • Rahul Rathore Profile Picture
    11 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,212 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans