We have recently updated from CRM 2013 to CRM 365 on-premise version number 8.2.2.112.
I have a strange error in CRM 365 when updating one of our custom entities through the CRM SDK OrganizationServiceProxy.
The error is the following:
entity doesn't contain attribute with Name = 'createdby_createdbyyominame'
which is correct, the custom entity doesn't have af field called "createdby_createdbyyominame"
Any ideas why the field is send to "createdby_createdbyyominame" through the CRM SDK it is not in our early bound class file. ?
Stack trace is here:
Inner Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: 'brf_ejendom' entity doesn't contain attribute with Name = 'createdby_createdbyyominame'.
....
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: 'brf_ejendom' entity doesn't contain attribute with Name = 'createdby_createdbyyominame'.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>e037ea99-a7b8-4eb8-aa02-a6b46a57d7d3</ActivityId>
<ErrorCode>-2147217149</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>'brf_ejendom' entity doesn't contain attribute with Name = 'createdby_createdbyyominame'.</Message>
<Timestamp>2018-05-02T12:44:38.5116704Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Update(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, Boolean checkForOptimisticConcurrency, Dictionary`2 optionalParameters)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.UpdateCore(Entity entity)
at ........
.