Prevent student from leaving a class team
We should be able to lock Team / Office 365 group in such way that students can't leave the team.
This needs to be considered from both an IT-pro as well as team owner perspective

37 comments
-
Dan commented
I've created a PowerShell script to automatically add users back if they leave a Team. You can specify the list etc.
I agree this should be a feature but this is my workaround for now.
https://gist.github.com/dannneal/9dbbe9dc87b441972c91bb71663e1cdc -
N TK commented
Absolutely important for our School. MS please do something soon!
-
Anonymous commented
But in education, if someone leaves on their own, they miss out on assignments. If they miss out on assignments, they get zeroes, so if you give them the choice, they will have to make a decision.
-
Erik Olsson commented
Workaround💡: With dynamic membership - team members cannot leave a team.
Based on rules in the AD - All students with attribute "Class 7B" in the AD would belong to the team "Class 7B" and cannot leave.
However, because membership is then controlled by rules, you lose the ability to add/remove students manually to the team. You can read everything about it here and see if it's a good fit for your needs:
https://docs.microsoft.com/en-us/microsoftteams/dynamic-memberships -
Nick commented
For teaching (I teach in Higher Ed.), this is a key and priority feature.
When we post a formal announcement, we need to know all students have received it (even from a legal perspective). Currently we cannot use Teams for this purpose in case a student leaves.
Furthermore, we tend to create teams using email groups from our exchange servers. Presumably, when a group is used to populate a team, it queries the list of names at that point in time. However, groups are modified over time as students join and leave.
Therefore, if a team could use logical groups (which are dynamic in nature), this might be a way to circumvent this limitation? I appreciate this could create issues with orphaned posts, so it is non-trivial.
-
Isabella commented
This is the case already (at least for me). I am unable to leave my teams. This is, however, very frustrating as I am unable to leave a team from last semester. I am able to hide it and thankfully there is no one that is messaging in there. But there could be a case where someone coould message in there and bombard others with messages. Plus, it could be even MORE frustrating if the teacher is no longer at the school.
-
Ahmad Moussa commented
Please we need this feature, its very important to prevent students from leaving the teams groups. Thank you.
-
Sanjay Dhingra commented
In Education, it is essential that students(members) should not be able to leave their Class Team. For members it should be locked and only owners can remove them.
-
Naveen Kishore commented
We are a school as well and we need this feature too, request Microsoft to implement this feature. This feature is definitely needed for education plans because we do not want students to leave their class teams.
-
M Azharuddin commented
In Education, it is essential that students(members) should not be able to leave their Class Team. For members it should be locked and only owners can remove them.
-
An. commented
Please , please, please MS - add the feature so Admin can block users/students from leaving a group!!
-
Anonymous commented
For education especially this is essential
-
Anonymous commented
Oh god yes!
-
TP commented
Yes please.
-
Iain commented
Agree this function should be disabled to stop students leaving the teams
-
Dan Jackson commented
We are also seeing this issue at my workplace.
-
Ajmal Latif commented
Voted, I am Teams Administrator in my University, same issue here, teachers are facing issues with this leave team option as students are leaving the team which should not be allowed.
-
Anonymous commented
I agree, one person, in particular, keeps leaving my class ... so annoying.
I am lucky it is only 1 person I suppose. -
Junior commented
I'm a teacher and my studnets keep leaving the Team I create for the class. I want to be able to lock them into the Team where they cant leave. This feature is not possible at the moment
-
Christian Flury commented
We are controlling who can join a certain team and we therefore want to control who is leaving it, too.