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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Custom Plugin Runs in Debugger Mode Only

(0) ShareShare
ReportReport
Posted on by

Hey all,

We're having problems with our custom plugin code.

We have a pre-operation plugin on an Update event handler.

I tested the code and nothing happens. absolutely nothing. I ran a profiler using Plugin Registration Tool and debugged the code and everything seemed to be working fine.

No exceptions, no bugs.

I then tried again without the profiler turned on and nothing happened.

After doing a few tests I came to the conclusion that the code did not run at all, it's not even excecuted.

I did this by throwing an exception right at the start of the code's execution block.

Anyone knows what might cause this strange behavior?

Thanks in advance,

Ofek 

I have the same question (0)
  • Saad Kabarousse Profile Picture
    734 on at

    Hello,

    Make sure teh step is enabled?

  • Community Member Profile Picture
    on at

    The step is enabled, I didn't write a new plugin - hence i didn't have to register a new step, I only changed existing code and added some logic to an existing step.

  • Charles Abi Khirs Profile Picture
    3,569 on at

    Hello,

    Is it possible to put a screen shot of the plugin registration tool step configuration and your code

  • Community Member Profile Picture
    on at

    What does it mean, the code doesn't run at all?  If you profiled the step and got a profile, then the plugin was entered.  

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 > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans