Skip to main content

Notifications

Announcements

No record found.

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.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Pre-Operation Plugin

    Hi,

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

    If found helpful, Please mark my answer verified.

  • mynkcrm Profile Picture
    50 on at
    RE: Pre-Operation Plugin

    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,981 Moderator on at
    RE: Pre-Operation Plugin

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 95

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans