Skip to main content

Notifications

Announcements

No record found.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans