SDS - Group cleanup mistake

Copper Contributor

Hi everyone,

Hoping you an help, I have made a mistake with the Microsoft SDS cleanup and have marked all classes expired and archived.

Is there any way I can reverse the cleanup?

 

1 Reply
Yes, with Powershell you can. Use Get-Teams to a list of all teams and send it to a csv. Edit the csv to only hold the expired teams and import with Powershell, loop all lines to use Set-Teams and the appropriate fields (in this case archived back to false and the name without EXPmmyy_).