Is there a way to retrieve interactions (like EmailClicked) for all contacts using code?
In the documentation, I could only find a way to retrieve for one contact and not all.
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/retrieve-interactions-contact
The insights here are correct, and as of today there isn't a programmatic way to pull this aggregated data.
Please suggest it to Ideas forum.
Thanks,
Eddy
Currently, there are no ways to retrieve the contact information for all contacts.
You could ask that as a feature request through appropriate channels.
Hi Mustafa,
Thanks for your feedback.
However, as the title in the doc shows, it "retrieve interactions for a contact using code", currently there is still no published method to support retrieving all contacts interactions.
As the closed issue at bottom of the doc page mentioned(GitHub link), save interactions data to Azure Blob is still the recommended method.
Or export interaction data in Contact > Insights directly as csv file.
Regards,
Clofly
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156