Hello,
We are trying to write a plugin that executes when a User is placed in an AAD Security Group Team.
We have tried using the Associate message (this is used when a User is placed in Team via UI) and AddMembers message (this is executed when a User is placed in a Team programmatically), but with no luck. Does anybody have an idea on which message can we use the plugin?
What we are trying to do is place a User in a Business Unit that corresponds to the Business Unit on the Security Group Team. For example, let's say that a User belongs to Business Unit A, but is later placed in a Security Group Team that is in Business Unit B. What we have found is that, even though the User is placed in this Team, his Business Unit remains A. Then we get into a weird situation where a User belongs to A, but can see records from B (through the Team's security rights).
What we are trying to achieve is to have a single point of administration for User's BU, Team and corresponding Security Roles. Since the BU is not propagated through AD Sec Group Team, our idea is to write a plugin that will be executed on this association, and place the User in the correct BU.
If it is not possible with plugin code, does anybody have other ideas on how to achieve this?

Report
All responses (
Answers (