My account have system admin role. However, when I grant Sale role to another use, I meet this error:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A300A5FEDetail:
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
<ActivityId>39b74de6-f1cf-4c67-9a45-d598718abdbc</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A300A5FE</Message>
<Timestamp>2022-04-25T07:03:04.844827Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>39b74de6-f1cf-4c67-9a45-d598718abdbc</ActivityId>
<ErrorCode>-2147220960</ErrorCode>
<ErrorDetails xmlns:d3p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>RoleService::VerifyCallerPrivileges failed. User: 5f025229-8f93-ec11-8102-0050568e17ed, PrivilegeName: prvReadCustomControl, PrivilegeId: f343f9c2-3810-4328-adbc-7fe57a0a63c5, Depth: Global, BusinessUnitId: 7c6dd789-7810-e311-a3b4-000c29fd4c08</Message>
<Timestamp>2022-04-25T07:03:04.844827Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
How could I solve it?
Hi Khoi,
Please check the security role of the user with id "5f025229-8f93-ec11-8102-0050568e17ed" in Business Unit with id "7c6dd789-7810-e311-a3b4-000c29fd4c08".
The ids can be found in the URL of the form for the user or BU.
Something like:
"...&etn=systemuser&id=xxxxx"
"...&etn=businessunit&id=xxxxx"
Hi Nya,
Thank you very much for your help.
However, I still have a question: How could I lacks Read privilege to the entity Custom Control while my account has System Admin role?
Regards,
Khoi
Hi,
The error message indicates that the security role lacks Read privilege to the entity Custom Control.
Please navigate to Advanced Settings > Settings > Security > Security Roles and click the role you assigned to the user.
Here is an example for the role - Sales Manager.
Switch to the Customization tab and find the "Custom Control" entity.
Make sure that the Read privilege has been granted at an appropriate level.
For more details, please refer to the following documentation.
Security roles and privileges - Power Platform | Microsoft Docs
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156