Hi,
Firstly, I should probably state I have no developer / code reading experience whatsoever.
When reading an error log file, I have noticed that contained within the file is a Privilege ID GUID. How would I go about finding what privilege the GUID relates to when using CRM 2015 U1 Online?
Secondly, for testing purposes, I forced an Insufficient Permissions error to see what I could learn from it. This one didn't have a Privilege ID GUID, what would I be looking for in this error log?:
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: 00000000-0000-0000-0000-000000000000, OwnerId: 64a41278-97a2-e211-b13c-3c4a92dbd80a, OwnerIdType: 8 and CallingUser: 409634d1-ff21-e411-9529-2c59e542167c. ObjectTypeCode: 9602, objectBusinessUnitId: 23d237f7-e297-e211-bd74-d4856451dc79, AccessRights: CreateAccess 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: 00000000-0000-0000-0000-000000000000, OwnerId: 64a41278-97a2-e211-b13c-3c4a92dbd80a, OwnerIdType: 8 and CallingUser: 409634d1-ff21-e411-9529-2c59e542167c. ObjectTypeCode: 9602, objectBusinessUnitId: 23d237f7-e297-e211-bd74-d4856451dc79, AccessRights: CreateAccess </Message>
<Timestamp>2015-08-07T10:18:40.6096157Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
Essentially I'm trying to learn how to read these log files so I can pinpoint the exact permissions needed when someone is faced with an error.
Thanks.