Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

D365 9.1 Onpremise: Ivalid argument exception when adding a list to campaign activity

Posted on by 2

Hey Experts,

we are using D365 9.1 onprem in version  9.1.0012.0017. When trying to add a marketinglist to an activity we get the mentioned error. When looking into the network load, the real error message is:
"Association cannot be performed between an entity of type campaignactivity and an entity of type list."

The stack trace is:
[Microsoft.Dynamics.Marketing.Plugins: Microsoft.Dynamics.Marketing.Plugins.PreAssociateEntitiesPlugin]\r\n[dac382d2-00c6-4faf-8eeb-a99b8ba6cd14: Marketing.PreAssociatePlugin]\r\nEntered Microsoft.Dynamics.Sales.Plugins.PreOperationProductSalesLiteratureAssociate.Execute(), Correlation Id: 843ebad8-86ad-4bcb-9658-f2eba920e0de, Initiating User: 9494d40e-6884-ea11-b26e-0050568700bc\r\nExiting Microsoft.Dynamics.Sales.Plugins.PreOperationProductSalesLiteratureAssociate.Execute(), Correlation Id: 843ebad8-86ad-4bcb-9658-f2eba920e0de, Initiating User: 9494d40e-6884-ea11-b26e-0050568700bc\r\nEntered Microsoft.Dynamics.Service.Plugins.PreOperationAssociate.Execute(), Correlation Id: 843ebad8-86ad-4bcb-9658-f2eba920e0de, Initiating User: 9494d40e-6884-ea11-b26e-0050568700bc\r\nExiting Microsoft.Dynamics.Service.Plugins.PreOperationAssociate.Execute(), Correlation Id: 843ebad8-86ad-4bcb-9658-f2eba920e0de, Initiating User: 9494d40e-6884-ea11-b26e-0050568700bc

As this is only happening in the Production system while the Test system is working as expected I was looking into the differences in the network load and found out that in the TEST-System before opening the "associate view" there is the following call happening:
pastedimage1676283328636v1.png

This call is in the Prodcution system not getting executed and because of this instead of only showing the marketinglists associated to the parent campaign we see als available marketing lists in the system.

Can somebody help?

Thanks,
Alan

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans