I have 2 dynamics 365 marketing instances. Both sandbox and production.
I have created some custom entities and have enabled change tracking.
In the sandbox instance, I'm able to publish the dataset configurations for those custom entities.
However, in the production instance, I get the the error message "Failed to publish entities" when I try to publish the custom entities for dataset configurations.
Can anyone help me out on this?
Hi tctham,
I'm glad to hear that and thanks for sharing your solution of this issue.
Hi Steve,
Thanks for checking out. Upon further investigation, it appears that our system admin did not grant us the "System Administrator" security role, only "System Customizer" and that itself is insufficient to publish the dataset configuration. We found out about this after opening the developer tool, and viewing the response error message for the Web Service called.
The full error response is as follows:
{ "error": { "code": "0x80040265", "message": "Exception 'InvalidPluginExecutionException' occured: Failed to publish the change tracked entities., CorrelationId: f7f8feca-7192-4c29-9413-f1dafb777793", "@Microsoft.PowerApps.CDS.ErrorDetails.OperationStatus": "0", "@Microsoft.PowerApps.CDS.ErrorDetails.SubErrorCode": "-2146233088", "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.ExceptionFromPluginExecute": "Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.CustomerInsightsSync.PublishChangeTrackedEntitiesPlugin", "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.ExceptionRetriable": "False", "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.ExceptionSource": "PluginExecution", "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.OriginalException": "PluginExecution", "@Microsoft.PowerApps.CDS.ErrorDetails.Plugin.PluginTrace": "2022-04-03T07:05:50.6387233Z :: Checking whether the user e55e9448-936f-ec11-8943-00224859dcd1 is system administrator.\r\n2022-04-03T07:05:50.6543492Z :: The user is not a system administrator\r\n2022-04-03T07:05:51.0450676Z :: Exception 'InvalidPluginExecutionException' occured: Failed to publish the change tracked entities., CorrelationId: f7f8feca-7192-4c29-9413-f1dafb777793", "@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException:80040265&client=platform", "@Microsoft.PowerApps.CDS.TraceText": "\r\n[Microsoft.Dynamics.Crm.MarketingPlugins: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.CustomerInsightsSync.PublishChangeTrackedEntitiesPlugin]\r\n[e034b490-1179-e711-80ff-000d3a28f6a4: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.CustomerInsightsSync.PublishChangeTrackedEntitiesPlugin: msdyncrm_publishchangetrackedentities of any Entity]\r\nStarting sync workflow 'PublishChangeTrackedEntities', Id: af8643a4-c972-ec11-8941-00224859c1f2\r\nSync workflow 'PublishChangeTrackedEntities' completed successfully\r\n\r\n\t\r\n\t2022-04-03T07:05:50.6387233Z :: Checking whether the user e55e9448-936f-ec11-8943-00224859dcd1 is system administrator.\r\n\t2022-04-03T07:05:50.6543492Z :: The user is not a system administrator\r\n\t2022-04-03T07:05:51.0450676Z :: Exception 'InvalidPluginExecutionException' occured: Failed to publish the change tracked entities., CorrelationId: f7f8feca-7192-4c29-9413-f1dafb777793\r\n\t\r\n", "@Microsoft.PowerApps.CDS.InnerError.Message": "Exception 'InvalidPluginExecutionException' occured: Failed to publish the change tracked entities., CorrelationId: f7f8feca-7192-4c29-9413-f1dafb777793" } }
Hi tctham wrote,
I have tested this and it could work on my side:
Could you share the full error message for further research?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156