In my organisation there are three teams in three business units as follows
BU: BU1 BU2 BU3
Team TMA TMB TMC
I am a member of BU1 & TMA, and I need to route one object from TMA queue to TMC queue. But need to have a restriction to stop routing from TMC or TMB using my user account where I am not a member. These three queues are Public and all can see the objects each other.
Using above security role (assigned to my user account) I am getting below error. It is working fine if the queue entity ‘append’ right to organisation level, but we are losing the restriction. I have tried assigning this security role to team wasn’t helpful. Is there any way you can suggest me.
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: #C61D408BDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<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: #C61D408B</Message>
<Timestamp>2017-09-04T08:15:04.9821775Z</Timestamp>
<InnerFault>
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 7977e35b-8b38-e611-8108-005056ad13b7, OwnerId: 7877e35b-8b38-e611-8108-005056ad13b7, OwnerIdType: 9 and CallingUser: d711a1f8-4160-e511-80f3-005056ad2e6e. ObjectTypeCode: 2020, objectBusinessUnitId: c320f459-8919-e511-80fb-005056ad13b7, AccessRights: AppendAccess, AppendToAccess </Message>
<Timestamp>2017-09-04T08:15:04.9821775Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>
*This post is locked for comments