Goldcrest Solutions

September 4, 2008

Tracing Permissions Errors in CRM

Filed under: Troubleshooting — Tags: , , , , — Peter @ 5:13 pm

If you have customised a User Role, you may find that users who are in that permission role cannot access areas of the system.  CRM will be giving you an error that looks something like this:

Error Number: 0×80040220

Error Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: ########-####-###-####-############ and PrivilegeId: ########-####-###-####-############

If you have removed many permissions, tracing which one you removed to cause this issue can take a long time. Fortunately, a short piece of SQL will show you wish permission the system is attempting to find.  Run the following against Organisation_MSCRM

select Name, * from PrivilegeBase where PrivilegeId = ‘########-####-###-####-############’

Replace ########-####-###-####-############ with the PrivilegeId from the error message, making sure to keep it enclosed in single-quotes.  The system will now return the name of the Privilege that CRM requires to display your Entity.

For more information, see Microsoft Knowledge Base article 953962

Leave a Reply

 

 

 

Home | About Us | Contact Us

Benefits of CRM | Solutions | Expert Corner | White Papers | Support | Events | Site Map