locked
sometimes it tells you what privilege is missing and sometimes it sends you to the administrator RRS feed

  • Question

  • what is the setting that gives a "verbose" insufficient privilege error?  how do I get it to say what privilege it's looking for?
    Tuesday, June 9, 2015 6:30 PM

All replies

  • Set the TraceLevel to Verbose - https://support.microsoft.com/en-us/kb/907490

    This will give the privilegeid, which you can lookup in the privilegebase table. Note that you may have to wade through a lot of log data, as the Verbose level will output any missing privileges that filter the SiteMap


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, June 10, 2015 9:08 AM
    Moderator
  • Thank-you very much.  My fault for not being more specific.  I am wondering about the modal dialog error report.  User clicks on a link and is told he does not have sufficient privilege... or what privilege he is missing.   How do I get it to say the latter?  Same error log setting?
    Wednesday, June 10, 2015 11:57 AM
  • If you are using the Outlook CRM client you can run the Diagnostics for CRM and enable tracing there, replicate the error then turn off tracing.

    The tracelog can then be found under c:\users\[your username]\Appdata\Local\Microsoft\MSCRM\Tracing if I remember correct.

    Find in the log something like "is missing prvShareActivity privilege (Id=b5f2ee06-d359-4495-bbda-312aae1c6b1e)" here you know the problem is with the activity entity, and it is a share problem, you might get something different that does not tell exactly what it is but the id will.  

    The log should give you an ID that you can trace by clicking the following link (First click the entity then you can see the ID list and what privilege is the problem.)
    https://msdn.microsoft.com/en-us/library/gg309366.aspx?f=255&MSPPError=-2147217396


    Halldór Jóhannsson


    Wednesday, June 10, 2015 2:39 PM