Acces is denied – Unable to convert a lead to a customer

Problem

I first met this “issue” in Dynamics CRM version 2011. But I quoted “issue” as it is not a fault in the software or in any other logic which might be built around it. The error you receive is a bit misleading, but it is due to insufficient privileges in CRM.

Access Is Denied

If you download the logfile and look in it, you’ll see something like this:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 00000000-0000-0000-0000-000000000000, OwnerId: ….,  OwnerIdType: … and CallingUser: …. ObjectTypeCode: 2, objectBusinessUnitId: 9…, AccessRights: CreateAccess Detail:

Solution

Look closely and you’ll see that the user is missing Create rights in the Business Unit. Modify the role of the user that encounters this problem or assign an extra role to the user which has the necessary rights (e.g. create right in the parent: child business units).

3 Comments

  1. Pingback: Business Process Error – Principal user is missing… | Koen's Dynamics CRM Blog

  2. Pingback: Business Process Error – Principal user is missing… - Microsoft Dynamics CRM Community

Leave a Reply

Your email address will not be published. Required fields are marked *