Microsoft Teams at year end, and leavers' Microsoft accounts
These settings follow what Realsmart already does for Google Classroom and Google accounts, with the same tools. Nothing changes until you choose, and the End of year page previews each one before it happens.
They're in Entra settings → Year end and leavers, and the class Teams choice is also on the End of year page.
Class Teams at the end of the school year
On End of year, the card End of term — Microsoft Teams works like the Classroom card above it: choose a School default and select Save. The choices are the same:
- Archive at end of term: class Teams are archived from your final provision date.
- Leave active (never archive): class Teams are left as they are. This is what happens until you choose.
- Archive at the start of next term: class Teams are archived when your new school year starts.
A group's own choice wins, as it does for Classroom. It's on the group's Classroom and Teams tab (Groups → open a group), and one choice covers both its Classroom and its class Team.
An archived class Team is read-only for posts and assignments, and its pupils stay in it, as students stay in an archived Classroom. Microsoft doesn't let Realsmart make the Team's files read-only, so members can still edit them. A teacher can unarchive a class Team in Microsoft Teams.
The first Entra sync after sync resumes makes the new school year's class Teams from your new timetable, so new pupils never join last year's. If any class Teams are set to stay active, the page says how many and offers Archive all … at end of term instead. Because a group has one end-of-term choice, that switches its Classroom too.
Groups that follow Realsmart
- Rename groups when they are renamed in Realsmart. The names when you switch this on are the starting point: the next sync records them and renames nothing. After that, a group renamed in Realsmart has its Microsoft 365 group and this year's class Team renamed at the next sync, unless someone has renamed it in Microsoft meanwhile. Email addresses don't change.
- Retire groups that Realsmart removes. A group deleted in Realsmart retires once it has been deleted for your purge retention (90 days unless it has been changed). A suspended group retires once Realsmart's own clean-up of old groups has removed it, because until then the sync still keeps it up to date. A group with a Team has the Team archived and "(archived 2026-27)" added to its name. A group without a Team that Realsmart made is deleted; Microsoft keeps it in Deleted groups for 30 days, where it can be restored. Groups that were in Microsoft before Realsmart are left in place.
Leavers' Microsoft accounts
Leavers' Microsoft accounts are disabled either way. With Purge their Microsoft account when Realsmart purges them on, the sync does to their Microsoft account what Realsmart's purge does to their Google account, at the same moment. A deleted member is purged at once; a suspended one once your purge retention has passed since they last signed in. The sync:
- takes the account out of every group;
- renames it to username_purged_by_realsmart@your domain, so the username can be given to someone new;
- keeps it disabled;
- deletes it, for the types ticked under Then delete the accounts of (pupils until you save a choice; tick neither and nobody is deleted). Microsoft keeps a deleted account in Deleted users for 30 days, where it can be restored. Unticked types stay renamed and disabled, and so does someone who is the only owner of a group.
Realsmart keeps the person's record until this is done. An account someone switches back on in Microsoft is never purged: the record waits until it's switched off again or the person comes back. An account deleted in the Microsoft 365 portal keeps the record until Microsoft clears it from Deleted users. Turning staff mailboxes into shared mailboxes isn't part of this. Licences are a separate choice: see Microsoft 365 licences.
Preview before it happens
End of year → Preview — what will actually happen shows which class Teams are archived and when, about how many classes get a class Team next year, which groups would be renamed or retired, and which leavers would be purged in the next 30 days. A setting that is off is shown as what would happen. The preview uses the Microsoft Teams choice on the page even before you save it.
Permissions
Archiving works with the Group.ReadWrite.All permission the Realsmart app already has. Microsoft recommends TeamSettings.ReadWrite.All instead, so Test permissions shows the Archive class Teams row amber until it's added with admin consent. See Test connection and permissions.
If something is paused
If far more groups would retire, or more leavers would be purged than is safe for the accounts still in use, Realsmart pauses and your Dashboard shows a card with Let the groups be retired or Let the purge go ahead. Letting the purge go ahead covers the whole held backlog, over as many syncs as it takes. A leaver's account switched back on in Microsoft, or a class Team Microsoft won't archive (usually because it has no owner left), shows there too, with no button: fix the cause. See Sync paused for safety.
Was this guide helpful?
We read every response — it decides what we rewrite next.
Thanks for your feedback.