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 :
Customer experience | Sales, Customer Insights,...
Answered

Delete contacts based on membership of a real time segment

(1) ShareShare
ReportReport
Posted on by 63
We want to clean up our database and dele contacts that meet certain criteria.
View filters do not have the power to identify contacts that meet complex criteria, (or even quite simple criteria like, "Have they opened an email in the last year?")
Segments do all allow these more complex criteria
With Outbound Marketing Segments, it is possible to create a view, based on membership of the segment, and thn bulk delete the members
With Real Time Journey segments, it does not appear possible to select contacts that are in a segment.
Is it possible to identify a bulk list of contacts using Real Time Segments and edit or delete all the identified contacts?
I have the same question (0)
  • Suggested answer
    Muhammad Affan Profile Picture
    4,624 Moderator on at
    Hi There,
     
    Why don't you create a power automate flow, specify the criteria and the flow will delete the contacts that meets the criteria.
     
    Thanks
    Affan
    If my suggested answer has helped, please mark it as verified.
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    1.Export to Excel and Manual Deletion
     
    Export the Segment: In Dynamics 365, you can run the real-time segment, export the list of contacts to Excel, and use Excel's tools to refine the list based on your criteria.
     
    Identify Contacts: Filter or sort contacts directly in Excel to ensure you’re only selecting contacts that meet your deletion criteria.
     
    Manual Deletion: This step involves re-importing your list as a “Delete” import in Dynamics, or manually deleting records based on the list.
     
     
    2. Power Automate Workflow
     
    Trigger: Although real-time segments don’t directly integrate with Power Automate, you can use Power Automate to flag contacts based on actions or attributes that align with your segment criteria. Once flagged, Power Automate can identify these flagged contacts and delete them.
     
    Action: Create a workflow to delete flagged contacts on a recurring basis (daily, weekly, etc.) to capture contacts as they meet criteria over time.
     
     
    3. Custom Plugin
     
    Complex Logic: If you need high specificity or very large scale deletions, consider a custom plugin. You could build this to directly access segment membership data (via custom attributes or flags).
     
    Direct Deletion: The plugin can check your specified criteria periodically, mark eligible contacts, and delete them based on segment membership.
     
     
    4. Third-Party Tools (e.g., XrmToolBox)
     
    Bulk Operations: XrmToolBox offers plugins like "Bulk Deleter" and "Bulk Workflow Execution" that can help manage and delete contacts based on specific conditions.
     
    Advanced Filtering: You can create a temporary view in Dynamics based on flagged criteria, then use XrmToolBox to apply batch deletions to those contacts.
  • Guy Boswell Profile Picture
    63 on at
     
    What do you mean by a, "re-importing your list as a “Delete” import in Dynamics"?
    I can only find a way to delete the records imported.  As the rcords I want to delete pre-exist in the data base, deleting the import leaves the pre-existing records untouched
  • Verified answer
    Guy Boswell Profile Picture
    63 on at
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    Hello Boswell,
     
    I was referring delete like this.
     
     
    Thank you,
    Amit Katariya
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    You can also use a console for this type of operation. It depends on you how you want to delete the data. Because when it is complex deletion then we can use the console or some Customisation else using bulk delete or power automated flows can help.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans