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