Forum Discussion
SomorjaiKarola
Jul 28, 2021Copper Contributor
Bulk restore from archive
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 und...
- Jul 28, 2021PowerShell
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
Jul 28, 2021
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
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