导入解决方案时出错:元素 'entity' 具有无效的子元素 'IsRetrieveAuditEnabled'

Error importing solution: The element 'entity' has invalid child element 'IsRetrieveAuditEnabled'

在 CRM 环境中导入解决方案会引发此错误:

The element 'entity' has invalid child element 'IsRetrieveAuditEnabled'

详情:

The element 'entity' has invalid child element 'IsRetrieveAuditEnabled'. 
List of possible elements expected: 'IsMappable, IsVisibleInMobile, 
CanModifyDuplicateDetectionSettings, CanModifyMailMergeSettings, 
CanModifyConnectionSettings, CanCreateAttributes, IsReplicationUserFiltered, 
IntroducedVersion, CanModifyMobileVisibility, IsCustomizable, 
CanModifyMobileClientReadOnly, CanModifyMobileClientVisibility, 
CanModifyQueueSettings, MobileOfflineFilters, EnforceStateTransitions, 
EntityMask, EntityKeys, IconMediumName, CanChangeHierarchicalRelationship, 
DaysSinceRecordLastModified, IsActivityParty, CanBeRelatedEntityInRelationship, 
CanBePrimaryEntityInRelationship, IsReplicated, AutoCreateAccessTeams, IconSmallName, 
IsReadOnlyInMobileClient, ActivityTypeMask, CanModifyMobileClientOffline, 
CanEnableSyncToExternalSearchIndex, IsMailMergeEnabled, EntityHelpUrl, IsRenameable, 
HasRelatedActivities, ChangeTrackingEnabled, CanModifyAuditSettings, 
IsEnabledForExternalChannels, IsMapiGridEnabled, IsReadingPaneEnabled, 
IsOfflineInMobileClient, HasRelatedFeedback, CanBeInManyToMany, CanChangeTrackingBeEnabled, 
IsVisibleInMobileC....names><Descriptions>
<Description description="Código de la zona horaria que estaba en uso cuando se creó el registro." languagecode="3082" />
</Descriptions></attribute></attributes><EntitySetName>xxx_entitynames</EntitySetName>
<IsDuplicateCheckSupported>0</IsDuplicateCheckSupported><IsBusinessProcessEnabled>0</IsBusinessProcessEnabled>
<IsRequiredOffline>0</IsRequiredOffline><IsInteractionCentricEnabled>0</IsInteractionCentricEnabled>
<IsCollaboration>0</IsCollaboration><AutoRouteToOwnerQueue>0</AutoRouteToOwnerQueue><IsConnectionsEnabled>0</IsConnectionsEnabled>
<EntityColor></EntityColor><IsDocumentManagementEnabled>0</IsDocumentManagementEnabled>
<IsOneNoteIntegrationEnabled>0</IsOneNoteIntegrationEnabled><IsKnowledgeManagementEnabled>0</IsKnowledgeManagementEnabled>
<IsSLAEnabled>0</IsSLAEnabled><IsDocumentRecommendationsEnabled>0</IsDocumentRecommendationsEnabled><IsBPFEntity>0</IsBPFEntity>
<OwnershipTypeMask>UserOwned</OwnershipTypeMask><IsAuditEnabled>0</IsAuditEnabled><IsRetrieveAuditEnabled>0</IsRetrieveAuditEnabled>
<IsRetrieveMultipleAuditEnabled>0</IsRetrieveMultipleAuditEnabled><IsActivity>0</IsActivity><ActivityTypeMask></ActivityTypeMask>
<IsActivityParty>0</IsActivityParty><IsReplicated>0</IsReplicated><IsReplicationUserFiltered>0</IsReplicationUserFiltered>
<IsMailMergeEnabled>1</IsMailMergeEnabled><IsVisibleInMobile>0</IsVisibleInMobile><IsVisibleInMobileClient>0</IsVisibleInMobileClient>
<IsReadOnlyInMobileClient>0</IsReadOnlyInMobileClient><IsOfflineInMobileClient>0</IsOfflineInMobileClient>
<DaysSinceRecordLastModified>0</DaysSinceRecordLastModified><MobileOfflineFilters></MobileOfflineFilters>
<IsMapiGridEnabled>1</IsMapiGridEnabled><IsReadingPaneEnabled>0</IsReadingPaneEnabled><IsQuickCreateEnabled>0</IsQuickCreateEnabled>
<SyncToExternalSearchIndex>0</SyncToExternalSearchIndex><IntroducedVersion>1.6.0.1</IntroducedVersion><IsCustomizable>1</IsCustomizable>
<IsRenameable>1</IsRenameable><IsMappable>1</IsMappable><CanModifyAuditSettings>1</CanM

如果我从 customizations.xml 中删除这两个元素:

<IsRetrieveAuditEnabled>0</IsRetrieveAuditEnabled>
<IsRetrieveMultipleAuditEnabled>0</IsRetrieveMultipleAuditEnabled>

解决方案在导入前通过验证。这是一个本地 CRM。

我不确定这个错误可能是什么,互联网上几乎没有关于 IsRetrieveAuditEnabled 的内容。

导出解决方案时如何解决这个问题?

我在 Microsoft 支持网站上发现 article,表明这些字段已在 Microsoft Dynamics 365 8.2.2 的服务更新 8 中删除。

Service Update 8 resolves the following issues:

  • Remove export handlers for IsRetrieveAuditEnabled and IsRetrieveMultipleAuditEnabled

此问题可能是由于 CRM 环境版本不匹配造成的。请确保您的源环境与目标环境的版本相同