"Getting all taxon entities under the specified root is currently not supported." error in the logs


Description

Deploying marketing definitions and taxonomies might not work correctly when using a server with Content Management, Processing, and Reporting role combination. The following error can be found in the log records:

Exception: System.NotSupportedException
Message: Getting all taxon entities under the specified root is currently not supported.
Source: Sitecore.Marketing.Operations.Xdb.ReferenceData.Service
   at Sitecore.Marketing.Operations.Xdb.ReferenceData.Service.Taxonomy.TaxonomyReferenceDataRepository.GetAll(Guid rootId)
   at Sitecore.Marketing.Taxonomy.TaxonomyManager.GetAll()
   at Sitecore.Marketing.xMgmt.ReferenceData.Observers.Activation.Taxonomy.Deployment.DeployManager.DeployAsync(Guid rootId)
   at Sitecore.Marketing.xMgmt.ReferenceData.Observers.Activation.Taxonomy.Deployment.DeployManager.Deploy(Guid rootId)

Solution

As a solution, consider the following steps:

  1. Open the Sitecore.Marketing.Taxonomy.Xdb.ReferenceData.config file.
  2. Find the line following line which determines the server role:
    <sitecore role:require="Processing or Reporting">
    change it to:
    <sitecore role:require="(Processing or Reporting) AND !ContentManagement">
  3. Redeploy the Marketing definitions.