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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Wayne Walton Profile Picture

Wayne Walton 2

#2
Good.Panos Profile Picture

Good.Panos 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans