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)

User can't add contact in the account entity

(0) ShareShare
ReportReport
Posted on by 423

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

I have the same question (0)
  • bernhards Profile Picture
    423 on at

    This are the form settings

    8713.2016_2D00_02_2D00_03-13_5F00_41_5F00_47_2D00_Form_5F00_-Account.png

  • Rickard Norström Profile Picture
    on at

    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

  • bernhards Profile Picture
    423 on at

    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.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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
    423 on at

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

  • Rickard Norström Profile Picture
    on at

    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
    423 on at

    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.

  • bernhards Profile Picture
    423 on at

    Haha good to know :D

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    @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.

  • Rickard Norström Profile Picture
    on at

    Hey, keep up the appearance ;)

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans