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,...
Suggested answer

list the segments that have a specific member

(0) ShareShare
ReportReport
Posted on by 15

I'm trying to list the segments that have a specific member.
I can't get it to run.

For now I am trying:

Segments - name (contains data)
Contacts (Segment Member)
email contains "xxx"

Thank you in advance for your answers

I have the same question (0)
  • Suggested answer
    cloflyMao Profile Picture
    25,210 on at
    RE: list the segments that have a specific member

    Hi klosb,

    Unlike marketing list, there is no association between contacts and segment.

    In other word, members are queried through a mechanism called "Segment Query", however, the process couldn't be reversed.(It's a one-way process.)

    Segment -> contacts âœ“

    Contacts -> segmentʉϥ

    To give a more specific example: In Contact form, when we click "Add to segment" button, the popup dialog will just list all static segments, even if the contact was added to any of these segments.

    Therefore, the only workaround would be achieving it programmatically: 

    1. Create a list to save the segments that meet the filter criteria。

    2. For each segment, retrieve segment members with segment API.

    https://docs.microsoft.com/en-us/dynamics365/marketing/developer/extend-segments

    3. Loop through members collection returned from API request, If a member has specific xxx email, then put the current segment to the list. 

    Regards,

    Clofly

  • klosb Profile Picture
    15 on at
    RE: list the segments that have a specific member

    Hi Clofly

    Thank you for your answer.

    I will try to follow your instructions.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 110

#3
#ManoVerse Profile Picture

#ManoVerse 56

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans