web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How Can I Implement Custom Logic when more than 250 members are added to my Static Marketing List?

(1) ShareShare
ReportReport
Posted on by 2

I have a plugin registered on the AddListMembers and RemoveListMembers messages to execute some custom business logic whenever members are added to or removed from a Static Marketing List.

While testing, I noticed some unexpected behavior.

When I add around 1,000 members to a Static Marketing List using Manage Members → Add Using Advanced Find, the members are added successfully, but my AddListMembers plugin does not get triggered.

Initially, I thought this might be a temporary issue, so I repeated the test multiple times and observed the same result.

To verify the plugin registration, I added the same members programmatically using AddListMembersRequest. In that case, the plugin was triggered successfully.

I then reduced the number of members being added through the UI and found that:

  • Adding around 250 members through Manage Members → Add Using Advanced Find triggers the plugin.

  • Adding around 1,000 members through the same UI action does not trigger the plugin.

  • Adding members programmatically using AddListMembersRequest always triggers the plugin.

I observed similar behavior with RemoveListMembers:

  • Removing a smaller number of members through the UI triggers the plugin.

  • Removing a large number of members through the UI does not trigger the plugin.

  • Removing members programmatically using RemoveListMembersRequest always triggers the plugin.

Based on this behavior, it seems that Dynamics 365 may be using a different internal process when more than 250 members are added to or removed from a marketing list through the UI.

My requirement is to execute custom business logic whenever members are added to or removed from a Static Marketing List, regardless of the number of records involved.

Has anyone encountered this behavior before?

If Dynamics 365 does not trigger AddListMembers and RemoveListMembers for large-volume operations, what is the recommended and supported way to implement custom logic for these scenarios?

Categories:
I have the same question (0)
  • Subra Profile Picture
    1,685 on at
    Hi @rohitp24

    Could you please let us know which product you have using from Microsoft 365. so that community memberes can provide a solution for this.
  • Suggested answer
    11manish Profile Picture
    1,096 on at
    The behavior you're seeing strongly suggests that Dynamics 365 switches to an internal bulk-processing mechanism for large UI operations, bypassing the AddListMembers and RemoveListMembers pipeline. This is why your plugins fire for smaller batches and programmatic requests but not for large-volume additions or removals through the UI.
    For scenarios where your business logic must always execute, a relationship-based or custom-process approach is the most reliable and supported design.
  • rohitp24 Profile Picture
    2 on at
    hi @Subra,

    I'm working on Dynamics 365 Sales module. 
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 109

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 61 Super User 2026 Season 1

#3
sannavajjala87 Profile Picture

sannavajjala87 29

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans