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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Record when a User is Added or Removed from a Team

(0) ShareShare
ReportReport
Posted on by 3,070

I'd like to be able to record when a User is added to or removed from a Team.  As far as I'm aware, there is no way to trigger a workflow on the Associate/Disassociate step, so I assume it will need a plugin.  Can anyone provide any advice on the necessary coding?

Ideally, I'd like to trigger a workflow on Associate that updates a field on the User record (new_teammemberships) with the Team Name and the date of addition.  On Dissociate, I'd like to trigger a separate workflow that updates a separate field on the User record (new_formerteammemberships) with the Team Name and the date of removal

Any advice on how to accomplish this would be appreciated

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi Ryan,

     here is an example:

    www.itaintboring.com/.../dynamics-crm-associate-disassociate-plugin

     Just keep in mind you can't register those plugins on a particular entity (unlike update/create/delete), so you'll have to check the relationship name, and, then, do whatever you need to do if it's the right relationship.

  • Ryan Maclean Profile Picture
    3,070 on at

    Hi Alex,

    Thanks for linking this.  As a non-developer who sorta understands code, how would I use this to trigger a workflow?

  • Suggested answer
    TNS Profile Picture
    1,197 on at

    Hi,

    As I understand you want to update fields on associate and disassociate ..... so I don't think you will need workflow .. you can update your fields in the associate and disassociate plugin only..

    and if you want to do with it workflow then you can create any field as a check and on the update of that field you can trigger your workflow..

    Thanks!

  • ashlega Profile Picture
    34,477 on at

    Hi Ryan,

      as TNS wrote above, it would probably be easier to just do those updates from the plugin (since you'll have the plugin anyway). Unless there is a reason you do need a workflow..

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans