Error message in Microsoft Dynamics CRM 4.0: “The logged-on user does not have the appropriate security permissions to view these records or perform the specific action”
When a user tries to perform an action in Microsoft Dynamics CRM 4.0, the user r…
When a user tries to perform an action in Microsoft Dynamics CRM 4.0, the user receives the following error message:
The logged on user does not have the appropriate security permissions to view these records or perform the specific action.
If the Microsoft Dynamics CRM platform trace is enabled, the platform trace includes the following error information:
>MSCRM Error Report:
——————————————————————————————————–
Error: Server was unable to process request.
Error Number: 0x80040220
Error Message: SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: e65023ae-54d1-da11-8e39-00145e3d5192 and PrivilegeId: a8ecac53-09e8-4a13-b598-8d8c87bc3d33
Note In this example information, the UserId value and the PrivilegeId value are placeholders for the actual values.
This problem may occur if the user’s role is not granted a privilege that is req…
This problem may occur if the user’s role is not granted a privilege that is required to perform the action. This situation may occur if one of the following conditions is true:
- The role was created from scratch.
- The role was copied from a standard role. Then, the role was edited extensively.
To resolve this problem, follow these steps.Note These steps require you to have…
To resolve this problem, follow these steps.
Note These steps require you to have information from the Microsoft Dynamics CRM platform trace.
- In the error information that appears in the Microsoft Dynamics CRM platform trace, locate the PrivilegeId value.
- Determine the missing privilege by running an SQL query that uses the PrivilegeId value. For example, run an SQL query that resembles the following against the OrganizationName_MSCRM database:
select Name, * from PrivilegeBase where PrivilegeId = ‘a8ecac53-09e8-4a13-b598-8d8c87bc3d33‘
- To grant the missing privilege to the user, follow these steps:
- Start Microsoft Dynamics CRM 4.0.
- Click Settings, click Administration under Settings, and then click Security Roles.
- Double-click the role that is assigned to the user.
- Grant the missing privilege to the user’s role. For example, to grant the prvReadLead privilege to the user’s role, click the Core Records tab, and then on the Lead row, click the appropriate Read privilege.
- Click Save and Close.