Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

routing a queue object to another queue in different Business Unit

Posted on by Microsoft Employee

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.

2475.Security-role.JPG

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

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans