SOLVED

Bulk restore from archive

Copper Contributor

Hello Everyone, I have a question ! :)

How can I restore archived teams groups in bulk? (I would make them active :D)

I have a lot of archived groups, and I would do them to active - I hope you undertstand me.

I can solve the problem if I have one group - (in AD, and by powershell), but I have lots of groups :)

Thank you for your answers! :)

karola

 

1 Reply
best response confirmed by adam deltinger (MVP)
Solution
PowerShell

Get Team
https://docs.microsoft.com/en-us/powershell/module/teams/get-team?view=teams-ps

Set-teamarchivedstate
https://docs.microsoft.com/en-us/powershell/module/teams/set-teamarchivedstate?view=teams-ps

You should be able to create scripts based off of these of these cmdlets. The Get-Team command should be able to get archived teams and show their Group ID which can be used for the Set command to bulk restore them.

Hope that helps and answers your question

Best, Chris
1 best response

Accepted Solutions
best response confirmed by adam deltinger (MVP)
Solution
PowerShell

Get Team
https://docs.microsoft.com/en-us/powershell/module/teams/get-team?view=teams-ps

Set-teamarchivedstate
https://docs.microsoft.com/en-us/powershell/module/teams/set-teamarchivedstate?view=teams-ps

You should be able to create scripts based off of these of these cmdlets. The Get-Team command should be able to get archived teams and show their Group ID which can be used for the Set command to bulk restore them.

Hope that helps and answers your question

Best, Chris

View solution in original post