While recently trying to move configuration data using the Configuration Migration tool, we got the below error.


FaultException`1 - RetrieveMultiple : GetEntityDataByFetchSearch |=> 'msdyncrm_segment' entity doesn't contain attribute with Name = 'msdynmkt_name' and NameMapping = 'Logical'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=65138568, MinActiveRowVersion=65138568, MetadataInstanceId=53062908, LastUpdated=2023-04-20 07:29:48.697, OrgId=f69f1cea-23d9-446f-9130-ed45ce666b28
Source : mscorlib
Method : HandleReturnMessage
Date : 21-04-2023
Time : 15:07:29
Error : Message: 'msdyncrm_segment' entity doesn't contain attribute with Name = 'msdynmkt_name' and NameMapping = 'Logical'. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=65138568, MinActiveRowVersion=65138568, MetadataInstanceId=53062908, LastUpdated=2023-04-20 07:29:48.697, OrgId=f69f1cea-23d9-446f-9130-ed45ce666b28
This was because we had the wrong filter condition applied to that table/entity.

Updating the filter to use correct attribute fixed the issue.

Hope it helps..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

One thought on “FaultException – RetrieveMultiple: GetEntityDataByFetchSearch while using Configuration Migration Tool – Dataverse / Dynamics 365”