Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / D365 9.1 Onpremise: Iv...
Sales forum
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

Categories:

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,186 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,996 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans