Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

User can't add contact in the account entity

(0) ShareShare
ReportReport
Posted on by 417

When a user tries to add some contact in the account form they get this error:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 6dadcbdf-ee9f-e511-80f5-3863bb354ff0, OwnerId: 249c4534-c691-e511-80f5-3863bb34fa70,  OwnerIdType: 8 and CallingUser: 249c4534-c691-e511-80f5-3863bb34fa70. ObjectTypeCode: 4703, objectBusinessUnitId: 9a8f60bb-048f-e511-80f4-3863bb349770, AccessRights: ReadAccess 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: 6dadcbdf-ee9f-e511-80f5-3863bb354ff0, OwnerId: 249c4534-c691-e511-80f5-3863bb34fa70,  OwnerIdType: 8 and CallingUser: 249c4534-c691-e511-80f5-3863bb34fa70. ObjectTypeCode: 4703, objectBusinessUnitId: 9a8f60bb-048f-e511-80f4-3863bb349770, AccessRights: ReadAccess </Message>
  <Timestamp>2016-02-03T12:19:48.2618421Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[78adcbdf-ee9f-e511-80f5-3863bb354ff0: ]

</TraceText>
</OrganizationServiceFault>


What permissions are missing?

Security-Role_5F00_-Salesperson-_2D00_-Microsoft-Dynamics-CRM.png

*This post is locked for comments

  • bernhards Profile Picture
    bernhards 417 on at
    RE: User can't add contact in the account entity

    This solved the problem. Thank you very much! :)

  • RE: User can't add contact in the account entity

    Hey, keep up the appearance ;)

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: User can't add contact in the account entity

    @Rickard fairly I don't remember all the object type codes. That info can be found in SDK.

    @Bernard Give users ability to read Processes - it is located on Customization tab of security role and don't worry about it. Right to read doesn't give possibility to edit anything.

  • bernhards Profile Picture
    bernhards 417 on at
    RE: User can't add contact in the account entity

    Haha good to know :D

  • bernhards Profile Picture
    bernhards 417 on at
    RE: User can't add contact in the account entity

    Thanks for the hint, but do you mean "Execute Workflow jobs" under the "Custom Entities"? I can not find any other Workflow permission in the security role.

  • RE: User can't add contact in the account entity

    Go with Andrii's suggestion, he is obviously more damaged than me considering he knows all the entity numbers up to 4703 :D (good catch, missed that completely)

  • bernhards Profile Picture
    bernhards 417 on at
    RE: User can't add contact in the account entity

    And I don't want to give them more rights as needed again, since last time they changed some entities...

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: User can't add contact in the account entity

    Based on error I can suggest to provide user an access to Read Workflow entity because 4703 entity type is workflow. Give it a try.

  • bernhards Profile Picture
    bernhards 417 on at
    RE: User can't add contact in the account entity

    Yes all the users are in a business unit. They have the same problem when they try to add it with the fast creation button

    2016_2D00_02_2D00_03-13_5F00_52_5F00_21_2D00_S.png

    I have admin rights and both did work for me. So the Salesperson role must need some permission.

  • RE: User can't add contact in the account entity

    Hi,

    It says read access, looking at the security it would mean that the Contact is in a BU above or parallell to the BU the user is in, is that correct? (although I don't know how the user could add something that's not shown.)

    If you give the user sysadmin rights, does it work then?

    Regards

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans