I'm testing the end of the school year by expiring the profile and hit the button "Run Profile Cleanup". A pop-up with 3 actions is shown: Mark classes expired, Archive Teams and Remove students from classes. I check them all and hit the button "Run profile cleanup".
After waiting a while, it finished. In Teams Admin portal I check the results. I see the display names have changed (= mark classes expired). Also I see as many Team members as Owners (= remove students from classes). So the first and the last option were executed. But the second option, the option to archive the teams, is not executed, it seems. The status still is Active in stead of Archived. To double check I ran the Powershell command Get-Team to check the option Archived. For all the expired teams it says False, which means it is not hidden from the teachers while it should be.
Has Microsoft changed behavior and am I missing something here, or is it not doing what it is supposed to do?