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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error when creating a new opportunity

(0) ShareShare
ReportReport
Posted on by 155

Hi all,

One of our users started receiving errors today when trying to create an new opportunity (Dynamics 365 Version 1612 (8.2.2.1559)). The error was not been seen by any other user with the same security role as of yet which seems strange. It is perhaps also worth noting the user only receives the error when trying to create an opportunity directly on the opportunity entity, if they qualify a lead they can create the opportunity that way.

Anyway the user appears to be missing an AppendTo permission, but I'm not sure for which entity. Here's the error log file, any suggestions would be appreciated:

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: a89f04aa-9194-e711-8114-e0071b6e2541, OwnerId: f4317cae-4f9d-e711-8114-e0071b6e2541, OwnerIdType: 8 and CallingUser: 20f69c84-1d2f-e711-810b-e0071b6e4401. ObjectTypeCode: 10034, objectBusinessUnitId: fd12eff5-9c83-e611-80e3-fc15b4280c94, AccessRights: AppendToAccess Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>dbd5bbfc-1f58-4af0-9d4d-484c00d1360e</ActivityId>
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: a89f04aa-9194-e711-8114-e0071b6e2541, OwnerId: f4317cae-4f9d-e711-8114-e0071b6e2541, OwnerIdType: 8 and CallingUser: 20f69c84-1d2f-e711-810b-e0071b6e4401. ObjectTypeCode: 10034, objectBusinessUnitId: fd12eff5-9c83-e611-80e3-fc15b4280c94, AccessRights: AppendToAccess </Message>
<Timestamp>2018-05-17T10:53:20.0979452Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

I'm not sure which entity 10034 is referring to.

Thanks in advance,

Mike.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    unizap Profile Picture
    on at

    Hi Mike,

    The below url will open up the entity form for entity type code = 10034. Just replace '<crm-url>' with your crm server and check.

    https://<crm-url>/main.aspx?etc=10034&pagetype=entityrecord

    From this you will discover which entity corresponds to etc 10034.

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Michael,

    The entity with objecttypecode 10034 can be found by the following URL.

    YourORGUrl/.../EntityDefinitions eq 10034

    Hope this helps.

  • Michael Violette Profile Picture
    155 on at

    Thank you this helped identify the entity (Custom)

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans