Share via

How to remove student who left team?

Joshua Hoem 20 Reputation points
2026-05-01T12:49:37.6866667+00:00

The student left our school district, so I do not want to assign any more assignments to them. When I got to manage the team, they were not on the list, but when I go to add an assignment, it always assigns it to this student. When I look through the list of individual students to assign, this student is on it. I would like to avoid assigning a task to individual students, so I want to remove the student, but there is no way for me to do so.

When I go to add the student back to the team, they are no longer in our district, so the student is not an option to add. I have no other clues on what to do. Does anyone have an idea?

Microsoft Teams | Microsoft Teams for education | Teams and channels | Manage a team or channel
0 comments No comments

Answer accepted by question author

  1. kagiyama yutaka 1,990 Reputation points
    2026-05-01T13:19:35.35+00:00

    The issue is just a stale enroll‑bit still alive in Entra/SDS, not Teams. Have ur IT admin remove the student’s AAD/SDS roster entry in Entra → Groups → class → Members; if it still lingers, hit Refresh sync on that user.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-05-01T12:49:58.3666667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Assignments in Teams for Education can still show data for students who are no longer enrolled in the class. Even after a student is removed from the class team (and thus from the Class Notebook membership), their assignment data can remain associated with the class as “no longer enrolled.” This is why the name can still appear in assignment targeting.

    To fully clean this up, a tenant admin can bulk export or delete assignment data for that student from the class:

    1. Before (or even after) removing the student from the class, the admin runs the Assignments script described in Configure assignments for Teams, providing the student’s userId and, optionally, the classId.
    2. To remove the student’s assignment data from a specific class, the admin uses the bulk delete option with both userId and classId. This deletes the student’s assignment data for that class outside of the SharePoint document libraries.
    3. Once the student’s assignment data is deleted for that class, the student should no longer appear as a target when creating new assignments.

    If the student was originally part of the class team and then removed, but their assignment data still needs to be exported (for records) before deletion, the admin can:

    • Add the student back to the class temporarily (if possible) and run the script with userId, or
    • Run the script with userId and classId even if the student has already been removed from the site.

    Because this involves tenant-level scripts and access to userId/classId, this cleanup must be done by the Microsoft 365/Azure AD (Entra ID) admin, not from within the Teams Assignments UI alone.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.