Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Deactivate Contacts based on Account

(0) ShareShare
ReportReport
Posted on by 145

Hi all,

I'm using a portal to display some content from our Dynamics instance. Our customers access content using the contacts in Dynamics. If a customer leaves us we want to disable the account and all linked contacts.

Is this possible using a workflow?

I know it can be done manually but we want it automated.

Thanks,
J

*This post is locked for comments

  • opticshrew Profile Picture
    145 on at
    RE: Deactivate Contacts based on Account

    Hi,

    I think custom workflow is the answer, for now though we just have a grid on the accounts form where someone can manually deactivate them by selecting multiple (Bulk Deactivate).

    The workflow will be used in a next step.

    Thanks,

    J

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Deactivate Contacts based on Account

    Hi,

    You either can write your own custom workflow or plugin, else use the third party( there is a risk).

    trigger the workflow or plugin when status changed, then query all those related contacts, and deactivate them.

  • opticshrew Profile Picture
    145 on at
    RE: Deactivate Contacts based on Account

    Hi,

    Something along these lines:

    community.dynamics.com/.../how-to-cascade-activate-deactivate-setstate-in-crm

    I assume this can be achieved without the need for a third party solution?

    Thanks,

    J

  • Suggested answer
    T.I.A Profile Picture
    1,760 on at
    RE: Deactivate Contacts based on Account

    Hi. You could either have a custom status (for the customer leaving) that triggers a custom workflow activity to run, change the account to inactive and finds all related contacts and also makes them inactive. Or just have it run on the deactivation of the record

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
dkrishna Profile Picture

dkrishna 6

Featured topics

Product updates

Dynamics 365 release plans