Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Access Denied

Posted on by Microsoft Employee

Hi all,

I am create one record submit to another user but at that time i am getting Access Denied error.How to resolve this error.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 95818a46-3c0d-e711-941a-00155d0b0317, OwnerId: 20664e1f-c3b7-e611-940c-00155d0b0317, OwnerIdType: 8 and CallingUser: 7d61fad7-86d8-e611-940e-00155d0b0317. ObjectTypeCode: 10041, objectBusinessUnitId: 05c32762-360a-e711-9419-00155d0b0317, AccessRights: WriteAccess Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 95818a46-3c0d-e711-941a-00155d0b0317, OwnerId: 20664e1f-c3b7-e611-940c-00155d0b0317, OwnerIdType: 8 and CallingUser: 7d61fad7-86d8-e611-940e-00155d0b0317. ObjectTypeCode: 10041, objectBusinessUnitId: 05c32762-360a-e711-9419-00155d0b0317, AccessRights: WriteAccess </Message>
<Timestamp>2017-03-20T07:10:39.9621828Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access Denied

    Thanks to all for reply me.I am solve this error the users are different business unit thats why its showing access denied.i am add two users in same business unit its working..

    Regards,

    Ravi

  • Suggested answer
    Zohaib Uddin Khan Profile Picture
    Zohaib Uddin Khan 2,811 on at
    RE: Access Denied

    What do you mean by Submit to Another User? If it means, assigning to 'another user', then check the Security role of 'another user'. And make sure on ObjectTypeCode: 10041, Write, Append and AppendTo access are defined. Thanks.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 on at
    RE: Access Denied

    Hi,

    See the link below and follow the steps given in the solution.

    stackoverflow.com/.../how-do-you-fix-the-access-denied-error-on-a-specific-dynamics-crm-form

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access Denied

    my role having write access for that entity.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Access Denied

    Please make sure that your user security Role has write access for submit entity

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans