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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Max Segments in Org reached?

(0) ShareShare
ReportReport
Posted on by 317
Recently we came across an issue with publishing new segments. Turns out, we surpassed the max number of segments allowed. 
 
  1. Current Dynamic segments count: 3000 max allowed: 3000.\"}"
  2. isError: true
  3. scenario: "SegmentService.PublishSegmentAsync"
  4. splitTimings: "[{\"name\":\"Scenario.Start\",\"timestamp\":0},{\"name\":\"Scenario.End\",\"timestamp\":792.6000000238419}]"
  5. startTime: 93055.5
  6.  
 
After working through a Power Automate flow to automatically delete segments, I came across a few things that just aren't adding up. 
 
There seems to be multiple entities used for segments:   
  • msdynmkt_segment
    • Entity that stores both virtual and segment definition ID 
  • msdynmkt_segmentdefinition
    • This entity is used when editing or creating a segment in real-time marketing
  • msdynmkt_virtualsegment
    • OOB view uses this entity 
  • msdyncrm_segment. 
    • This seems to be the old entity before MSFT deprecated outbound marketing ( thats my guess) 
In the flow, I added delete steps for msdynmkt_segment and msdynmkt_segmentdefinition. Deleting from msdynmkt_segment automatically deletes from msdynmkt_virtualsegment but not msdynmkt_segmentdefinition.
 
If you dont delete from msdynmkt_virtualsegment, the segment still displays in the view even though you cant open the segment. Very odd. 
 
My two main concerns/questions are the following: 
 
  • What table does this limit apply to? With so many entities used, I had to delete from all of them. 
  • The limit is 3000 dynamics segments and 10000 static segments per org. When creating in msdynmkt_segmentdefinition ( real-time marketing), the only way to create a static segment is by hitting the settings icon on the right side of the page and select Static Snapshot. 
    • After creating several static snapshots, I queried the table only to find that static snapshots also have a type of Dynamic. 
      • Is there no way to truly create static segments that would count toward the 10k limit or do all segments made from here on out only count toward the Dynamic limit?? If thats the case, their limit should increase. 
 
Thank you! 
 
 
I have the same question (0)
  • Suggested answer
    RK-03060518-0 Profile Picture
    299 on at
    Max Segments in Org reached?
    Hi,
     
    The 3000 dynamic / 10,000 static segment limits apply to msdynmkt_segment. Other tables (msdynmkt_segmentdefinition, msdynmkt_virtualsegment) support definitions and views, but limits are enforced on msdynmkt_segment.
     
    Static snapshots created in the UI still count toward the dynamic segment limit, so the 10,000 static limit generally doesn’t apply to new snapshots.
     
    Option:
    > Periodically delete old segments from msdynmkt_segment and msdynmkt_segmentdefinition to free up space.
    > Include msdynmkt_virtualsegment in cleanup to prevent orphaned records from appearing in views.
     
    Thanks
    Rishabh

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 152

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 55

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans