web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Access Denied for Case Reactivating

(0) ShareShare
ReportReport
Posted on by

Hello all


One of our managers is receiving an Access Denied prompt when attempting to reactivate a resolved Case in CRM.  His security access for the Case entity is all set to "Organization" so it looks like some other security change is necessary, but I can't find it.  I have pasted the error code he receives below:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 49f61f1d-20bd-e411-80ed-005056907a79, OwnerId: 31daedcc-53e7-e311-80cb-005056907a79,  OwnerIdType: 8 and CallingUser: 67d86f0a-57f2-e311-80cb-005056907a79. ObjectTypeCode: 4200, objectBusinessUnitId: 35215c02-10dd-e311-80cb-005056907a79, AccessRights: WriteAccess Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147187962</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 49f61f1d-20bd-e411-80ed-005056907a79, OwnerId: 31daedcc-53e7-e311-80cb-005056907a79,  OwnerIdType: 8 and CallingUser: 67d86f0a-57f2-e311-80cb-005056907a79. ObjectTypeCode: 4200, objectBusinessUnitId: 35215c02-10dd-e311-80cb-005056907a79, AccessRights: WriteAccess </Message>
  <Timestamp>2015-04-16T16:10:32.9695139Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mamatha Swamy Profile Picture
    5,426 on at

    Pete,

    make sure the security role given to user has prvWriteUserSettings (Business Management Tab > User Settings > Write)

    community.dynamics.com/.../141581.aspx

    If that doesn't help, enable the Trace to know the missing privilege.

    support.microsoft.com/.../907490

  • Verified answer
    Community Member Profile Picture
    on at

    Hello Pete,

    Run sql script below and find out the necessary permission for ObjectTypeCode 4200, as your error message suggested. Than give write Access and try again. it should solve the issue.

    I got this solution from: https://rule30.wordpress.com/2014/02/18/fixing-a-seclibaccesscheckex-failed-error-in-crm/

    SELECT

    ObjectTypeCode,

    Name

    FROM EntityView

    ORDER BY EntityView.ObjectTypeCode ASC

    Cheers.

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    Hi Pete,

    You missed the privilege to Write Activity Pointer or Activity.

    You can check the code it is for ActivityPointer, which is Activity Entity in CRM.

    msdynamicscrmblog.wordpress.com/.../entity-type-codes-in-dynamics-crm-2011

    And based on the error, very clear you need the 'Write Access'

    Thanks.

  • Community Member Profile Picture
    on at

    Yep, this was the issue.  The user needed Write access for Activities.

    Thank you all!

  • Community Member Profile Picture
    on at

    Hi Aileen- related to this query...how can I control the reactivation of cases by certain set of CSRs...they can resolve the case but only manager can reactivate a resolved case...how can I achieve this ?

  • Suggested answer
    Community Member Profile Picture
    on at

    This can also occur when you are trying to change records that don't belong to you and your business unit, if you have multiple BUs setup.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans