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

HTML Code in InvalidPluginExecutionException Message on E-mail Template Entity Form

(0) ShareShare
ReportReport
Posted on by

Hi everybody,

I hope you are well. I have an Dynamics 365 9.0 and have the Problem, that the Message for InvalidPluginExecutionException contains only on the other entities Form HTLM Code in the error Message.

My plugin works on e mail template entity.

pastedimage1616398182862v2.png

my code:

var deneme = "deneme deneme deneme";
throw new InvalidPluginExecutionException(deneme);

Anybody an Idea how can i fix it?

Thanks for help.

I have the same question (0)
  • Elie.Mouawad Profile Picture
    9 on at
    This way will work:

    throw new InvalidPluginExecutionException("A\u00A0template\u00A0with\u00A0the\u00A0same\u00A0title\u00A0already\u00A0exists.");

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
ManoVerse Profile Picture

ManoVerse 73 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 50

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans