Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Plugin execution not listed in trace log

Posted on by 9
Hi. We have a complex product consisting of some dozen solutions. Each solution has a dev environment where it is in unmanaged state. All solutions are hosted in the Azure cloud. DevOps pipelines automatically build and deploy the solutions as managed solutions. Should be a common setup. We have many plugins and all of them write information about the plugin context, parent contexts, shared variables and the like to the trace log. Very valuable information for troubleshooting.

Tracing works perfectly in our development environments. We noticed though, that it does not work when a plugin is part of a managed solution. Currently, it's not clear if it doesn't work for all or only particular plugins. There are no active layers.  The plugin I’m investigating is registered correctly, and I have verified that it is executed. I can even use the plugin profiler of the plugin registration tool to capture the execution context. But all ITracingService.Trace calls seem to be entirely ignored, when the plugin is part of a managed solution. 

I have spent some time googling around but haven't found anything related. The closest was a reference to CRM 2016 and the requirement to run plugins in sandbox mode. But as stated, it’s all on Microsoft servers and we also use sandboxed mode. Any ideas what else to check?

Thanks in advance.


 
  • Verified answer
    MH-16081421-0 Profile Picture
    MH-16081421-0 9 on at
    Plugin execution not listed in trace log
    Just in case it's of interest for anyone. I had opened a support ticket and after describing it in detail I found that as of today, the issue no longer is reproducible.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans