Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Unable to publish dataset configuration entities

Posted on by 19

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?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unable to publish dataset configuration entities

    Hi tctham,

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

  • Verified answer
    tctham Profile Picture
    tctham 19 on at
    RE: Unable to publish dataset configuration entities

    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
    Community Member Microsoft Employee on at
    RE: Unable to publish dataset configuration entities

    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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans