Forum Discussion
MSizec
Nov 16, 2023Copper Contributor
How to monitor when someone is leaving a Team or a channel
Hi We have teams of people all members a a specifc team / channel and used by their manager to communicate etc. The fact is that these user can leave a channel and leave the team. How can we le...
ErinaBarrientosCepeda
Nov 23, 2023Copper Contributor
First, you can use the "Activity alert" feature in the Defender admin portal. This will send an alert to the manager when a member is deleted from a team. To use this feature, go to the Defender admin portal and click on "Alerts." Then, click on "Create alert." Select "Member deleted from team" as the event type and then add the manager's email address to the alert recipients list.
Second, you can use a third-party tool to monitor team activity. There are a number of different tools available, but one that is popular is Microsoft Teams Activity Reports. This tool will send an email to the manager when a member leaves a team or a channel. To use this tool, go to the Microsoft Teams Activity Reports website and create an account. Then, add the manager's email address to the list of recipients.
Finally, you can manually monitor team activity by checking the team roster. To do this, go to the team and click on the "Members" tab. Then, scroll through the list of members and look for any that have been deleted. If you see a member that has been deleted, you can contact the manager and let them know.
I hope this helps!
Second, you can use a third-party tool to monitor team activity. There are a number of different tools available, but one that is popular is Microsoft Teams Activity Reports. This tool will send an email to the manager when a member leaves a team or a channel. To use this tool, go to the Microsoft Teams Activity Reports website and create an account. Then, add the manager's email address to the list of recipients.
Finally, you can manually monitor team activity by checking the team roster. To do this, go to the team and click on the "Members" tab. Then, scroll through the list of members and look for any that have been deleted. If you see a member that has been deleted, you can contact the manager and let them know.
I hope this helps!
- MSizecNov 23, 2023Copper ContributorHi !
Thanks
Ive tested Activity alerts and can say a user is not considered as deleted if he leaves on its own.
Im gonna look at Microsoft Teams Activity Reports, but im not a big fan of third party tools.
I do not want to go to the manual way of doind this. You have to know the complete lists of users to be able to find the one who could have left. And you can't ask that to all the managers.
I found a few other ways :
- using dynamic m365 group , you can add users but they won't be able to leave it. But you will not be able to add a new member through the team management UI, nor delete a member.
https://learn.microsoft.com/en-us/microsoftteams/dynamic-memberships
- using Teams with powershell, you could list all members of the teams / channels you want to watch, and compare members with the last results, find the missing members then send mails, re-add members, ...
- using grapAPI, you can subscribe to membership changes.
https://learn.microsoft.com/en-us/graph/teams-changenotifications-teammembership#subscribe-to-membership-changes-in-all-private-and-shared-channels-of-a-particular-team
(This one is more technical)