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 :
Microsoft Dynamics CRM (Archived)

How to disable error messages

(0) ShareShare
ReportReport
Posted on by 4,930

Hi,

our CRM has been pen tested and one issue identified as a gap was "information disclosure".

The testers claimed, that the error messages returned to a user, e.g. if a user is missing privileges, contains to much information, like the stack trace a.s.o.

They said we should deactivate these kind of error messages.

Unfortunately I did not find any documentation, how to do that?

My idea would be to disable these kind of error messages, so that they are not displayed to the users and instead turn on tracing on server side on at least error level, where we then would have to look for such errors, if users are having issues.

Of course I would setup some maintenance plans to zip/archive/delete these logs in regular intervals.

Any feedback about that issue would be highly appreciated ;)

thx Thomas

btw: we are on 8.2.3 on prem

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    _Lars_ Profile Picture
    225 on at

    I'm not sure if that's possible. The better solution would be to fix what's causing these errors. In my experience Dynamics does not come with these kinds of errors, so I'm guessing this is your own logic. It might be JavaScript from a WebResource, it might be a plugin. Have a look at it and do more error handling in your code. If you query an object or handle a entity property you will need to check if it's initialized before using its functionality for instance.

  • tpeschat Profile Picture
    4,930 on at

    Hi,

    there are no issues, which are causing any errors and I am also not talking about any JS errors.

    You can reproduce these kind of errors, e.g. if you send out a link and somebody who doesn't have rights (ownership/team/sharing) tries to open it, ... you can always have such cases and that is what they are claiming about ...

    br T

  • necsa Profile Picture
    3,455 on at

    Hi Thomas,

    Is it Script error notification from system or because of dependet some javascript code?

  • necsa Profile Picture
    3,455 on at

    Hi Thomas,

    please, can you add a screenshot from error?

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
NeerajPawar Profile Picture

NeerajPawar 2

#2
jlattimer Profile Picture

jlattimer 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans