Hello,
When I try to create a Task on Case record, I am getting the below error msg. I have some plug-in running behind the scene to alert Task owner and Team to be notified by an email. But I am having hard time here to understand what kind of access it is expecting on what object. Can someone help me to through ideas here by looking at this error log? Thanks in advance.
Unhandled Exception:
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 00000000-0000-0000-0000-000000000000, OwnerId: 7b3e002f-5de1-e611-80f5-005056b5a813, OwnerIdType: 8 and CallingUser: 751a58b4-f79d-e211-bbb7-005056b245b5, CallerBusinessId: b87adad5-598e-e111-8b9a-005056b245b5. ObjectTypeCode: 4200, ObjectBusinessUnitId: ca76b573-ad9a-e111-9a17-005056b245b5, AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.Detail:
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
<ActivityId>0b354092-af59-4555-9ec3-1b22899148db</ActivityId>
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>SecLib::AccessCheckEx2 failed. Returned hr = -2147187962, ObjectId: 00000000-0000-0000-0000-000000000000, OwnerId: 7b3e002f-5de1-e611-80f5-005056b5a813, OwnerIdType: 8 and CallingUser: 751a58b4-f79d-e211-bbb7-005056b245b5, CallerBusinessId: b87adad5-598e-e111-8b9a-005056b245b5. ObjectTypeCode: 4200, ObjectBusinessUnitId: ca76b573-ad9a-e111-9a17-005056b245b5, AccessRights: CreateAccess. Computed rightsToCheck=CreateAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8.</Message>
<Timestamp>2020-04-21T14:42:28.6083755Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>