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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Pre-Operation Plugin

(0) ShareShare
ReportReport
Posted on by 50

Hi i have been trying to throw an InvalidPluginExecutionException message in order to roll back and prevent record creation in annotation entiy.

Plugin is registered in Pre-Operation . I am not getting exception message displayed on the screen although the code is working fine.. 

That business process error is not coming on screen

Same is working correctly on dev instance.

On- premise environment.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    First thing you should check if profiler is enabled on the crm instance where you are facing this issue. When steps are enabled for profiler system suppresses the error and it does not get displayed on the form.

    If found helpful, Please mark my answer verified.

  • mynkcrm Profile Picture
    50 on at

    I checked and uninstalled it also. Even i can see the code running as record is getting created and deleted itself when exception was thrown but exception is not displayed on the screen.

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Can you change execution pipeling from pre-operation to pre-validation and check.

    If found helpful, Please mark my answer verified.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 143 Super User 2026 Season 1

#2
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 121

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans