Hi all,
We're experiencing something strange:
- An AD group was created and was visible in Dynamics as a Team.
- We added over 60 users to the AD group (this was done in the Microsoft admin environment)
- After a few days, we deleted all but 4 users from the AD group, again this was done in admin.microsoft.com
- Even though the AD group now has 4 users, the corresponding Team in Dynamics still has 34 users. So only about half of the users were removed from the Team.
When adding a user to the AD group, it appears in the Team. When adding a user that is already present in the Team and removing it again, this user stays in the Team.
As you may guess we're kind of confused. How is this sync supposed to work?
Thanks. Also on that page: "When a user is removed from the Azure AD groups by an administrator, the user is removed from the group team, and they lose their access rights the next time they access the environment."
These descriptions could be clearer and less ambiguous in my opinion. But for now I'll assume the users are removed when they login.
Hey!
on https://learn.microsoft.com/en-us/power-platform/admin/manage-group-teams#edit-a-group-team, you have some interesting information:
The list of team members listed in each group team only displays the user members who have accessed the environment. This list doesn't show all the group members of the Azure AD group. When an Azure AD group member accesses the environment, the group member is added to the group team
Team members are maintained in each group team at run-time and the operation is done at the database level; therefore, the update to group team event is not available for plugin
From this, I would say that modifying membership on the AAD Team is not automatically reflected/Sycned into the team in Dynamics, but instead upon user attempt to connect (or impersonating call), they're disabled and then removed from the team.
Regards,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156