Bye, Bye Annoying Warning “The email below might contain script or content that is potentially harmful and has been blocked.”

Not one week go by where I do not get a question from a Dynamics 365 Customer engagement user or admin on how to get rid of the warning on Emails in Dynamics that contains HTML components, such as <script> or <style>. Good news is that it now can be gone with a simple setting. (step by step guide included in this post)

warning
V9 UCI Email Warning Timeline annoyance

 

The Annoying warning started way back when in Dynamics CRM 4, where it was just a small yellow line that most users just ignored.

image_thumb_27

But since Dynamics CRM 2011 the Warning just got more visible in”What’s new” list and lately, in newest Dynamics V9, it got an even more prominent appearance for some strange reason.

Until now only way to get rid of it was to include unsupported script code that usually was not upgrade friendly… but this all changed some point in time this year as Microsoft snug a Feature flag into OrgDbOrgSettings for Admin to toggle this warning on and off.

Before and after setting feature flag “SecuritySettingforEmail” in OrgDbOrgSettings

This slideshow requires JavaScript.

Email Warning Be Gone in 3 easy steps

To edit the organization database settings aka OrgDbOrgSettings you have at least 2 choices, one is to run a command line script that could be included in your deployment the other is to use this point and click solution from within Dynamics/PowerApps Admin interface create by Sean McNellis.

To Prove it worked, I used Sean McNellis’s tool with below steps:

  1. Download and install the solution
  2. Open the solution and locate the “SecuritySettingforEmail” entry
    • Open the Solution and activate the tracking through pressing of the “Add” button.
  3. Change the “SecuritySettingforEmail” value from 1 to 3

See here how i did it:

For the Change Management people

Please notice that this fix also gets rid of the “View full Email” link so please direct users to use the More Commands (…) >> Open Entity Record option instead.

What else is “hidden” in OrgDbOrgSettings

https://www.inkubit.com/en-us/blog/microsoft-dynamics-365/category-based-tracking-with-the-dynamics-365-app-for-outlook/

https://blogs.msdn.microsoft.com/crminthefield/2019/01/08/dynamics-365-customer-engagement-orgdborgsettings-configurations-might-affect-instance-size-storage/

the full list of setting: https://support.microsoft.com/da-dk/help/2691237/orgdborgsettings-tool-for-microsoft-dynamics-crm

9 thoughts on “Bye, Bye Annoying Warning “The email below might contain script or content that is potentially harmful and has been blocked.”

  1. Hi when I change the value of “SecuritySettingforEmail” it seems to do this for an unknown crm instance. How can I do this for my live and sandbox instance instead?

    Like

      1. We get this message for Appointments as well. The setting is working for emails now pretty fine but appointments still show the harmful content message. Do you know a solution for that as well?

        Like

      2. Sorry no… but I will try to find the source in Microsoft on the Email fix and apply light pressure to fix this as well for appointments

        Like

  2. Hi Jens,

    This is a great tip. It really improves the overall user experience not having to see this annoying warning every time you see an email on a timeline.

    Thanks.

    Like

  3. Hi Jensk,

    Thank you for the post, it helped me to solve the issue with email, however the message appears for appointment, can you let me know if there is any way to remove the messages from appointments too.

    Liked by 1 person

    1. Correct…it does not seem to work for the warning on appointments, and unfortunately, I do not have any suggestion other than to contact Microsoft and suggest it to be included

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.