Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

CRM System user does not have prvReadCustomControl privilege

Posted on by 5

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?

  • Nya Profile Picture
    Nya 29,056 on at
    RE: CRM System user does not have prvReadCustomControl privilege

    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"

  • Khoi_KNH Profile Picture
    Khoi_KNH 5 on at
    RE: CRM System user does not have prvReadCustomControl privilege

    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

  • Nya Profile Picture
    Nya 29,056 on at
    RE: CRM System user does not have prvReadCustomControl privilege

    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.

    pastedimage1650940732297v1.png

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans