Skip to main content

Notifications

Announcements

No record found.

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

  • Michael Violette Profile Picture
    155 on at
    RE: Error when creating a new opportunity

    Thank you this helped identify the entity (Custom)

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Error when creating a new opportunity

    Hi Michael,

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

    YourORGUrl/.../EntityDefinitions eq 10034

    Hope this helps.

  • Verified answer
    unizap Profile Picture
    on at
    RE: Error when creating a new opportunity

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans