web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Unable to publish dataset configuration entities

(0) ShareShare
ReportReport
Posted on by 23

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?

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi tctham wrote,

    I have tested this and it could work on my side:

    pastedimage1649137722872v2.png

    pastedimage1649137697717v1.png

    Could you share the full error message for further research?

  • Verified answer
    tctham Profile Picture
    23 on at

    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.PublishTrackingChanges.png

    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"
        }
    }

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi tctham,

    I'm glad to hear that and thanks for sharing your solution of this issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans