Hi,
We have enabled outlook sync for few users in the CRM 2015 On-Premise CRM ORG and we get below errors filling our CRM TRACE for Asynchronous Service. It read as user missing the create access on ExchangeSyncIdMapping entity ( object type code 4120 ), but this entity is not exposed directly in security roles to provide the privilege. How can we provide the required access on this entity to solve this ? See below the trace details.
Logging Detail
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncIdMappingFactory.ExchangeSyncIdMappingTable.AddMapping(String crmId, String exchangeId, ItemObjectType itemObjectType)
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.WriteToCrmStep.CreateInCrm(IEnumerable`1 syncItems)
. Exception details : 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: ed4cb725-741b-e511-80ce-005056ae320c, OwnerIdType: 8 and CallingUser: ed4cb725-741b-e511-80ce-005056ae320c. ObjectTypeCode: 4120, objectBusinessUnitId: b1c43a79-b7be-e411-80bc-005056aee586, AccessRights: CreateAccessDetail:
Trace log is enabled only for errors and with above error, crm creates 1 new file of size 10MB every 2 mins. :(
Appreciate your help.