Hi guys,
I have a weird security problem. We removed the Share privilege, for Accounts, from a security role to prevent users from sharing. It's worked for most of people. But some got the following error when opening the form.
Later, we found out those users were also Managers, i.e, they are referenced in the manager lookup in another user's form. Then, we proved it was the cause by removing them as manager.
Do you have an idea about this? It does not seems logical to require this when opening an account. We are sure that no custom code caused this.
Thanks,
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: #F3185E6FDetail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F3185E6F</Message>
<Timestamp>2016-11-30T16:13:13.2651775Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220960</ErrorCode>
<ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>SecLib::CheckPrivilege failed. User: 11545973-9ec8-e211-94be-00505686002a, PrivilegeName: prvShareAccount, PrivilegeId: 39b15dfd-09ba-4f30-a390-cac64b635850, Required Depth: Basic, BusinessUnitId: 7507ceee-18fc-e511-80c4-0050569307c5</Message>
<Timestamp>2016-11-30T16:13:13.2651775Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
*This post is locked for comments