Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

Azure Active Directory (AAD) group team: Register step on new teammembership relation

Posted on by 5

Hello everyone

Is there a way to register a plugin step when dynamics links an user to an AAD group team?

To understand the question better:

The Associate/Disassociate Messages fire whenever I add or remove a member to the team manually through the web interface.

Then we also have:

- "AddMembers" of  "team" entity fires when adding a member programmatically.

- "AddUserToRecordTeam" of "teamtemplate" entity fires when a user is added to an access team from a record entity

However I have not figures out the corresponding message when an user, who is part of the AAD group of the dynamics AAD group team, connects to dynamics and is created and added to the team.

My goal is to have custom business logic whenever a user is linked to a specific AAD group team.

  • DanielAltmann Profile Picture
    DanielAltmann 5 on at
    RE: Azure Active Directory (AAD) group team: Register step on new teammembership relation

    No, I have not been able to register a plugin and am also using a workaround with only an automate flow.

    However I have gotten a reply from Kailash Ramachandran in the comments of the blogpost Azure AD group team in Dataverse – My Trial (mytrial365.com), which might be worth investigating

    Yes if the AAD group is a Dynamics group, i.e. based on a query of any sort the association or add member trigger won’t fire. This can be achieved using the Azure AD Monitor log. The log can be read with messages like add-member and remove member, using that log message you can fire a flow or logic app to perform your desire action that is needed.

  • FU-22040757-0 Profile Picture
    FU-22040757-0 5 on at
    RE: Azure Active Directory (AAD) group team: Register step on new teammembership relation

    Hi DanielAltmann

    I am currently facing the exact problem, that you are describing. Did you find a solution for that?

    My current idea involes a workaround, where I regularly check for new team members with a Power Automate flow.

    But I would really like to use PlugIn steps for my scenario.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans