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:
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