Exporting custom list of Teams files into local drive and then delete the Teams?
EnterpriseArchitect
5,336
Reputation points
Hello people,
I need assistance and suggestions in exporting a list of Teams site file content to the local F:\Backup\Teams directory.
After a successful export/backup, the Teams site will be deleted.
How can this be accomplished using the PowerShell script? https://pnp.github.io/powershell/
Input Source: Teams-ToDelete.CSV
Group Name, Mail
ImportantGroup, Important@BigCompany.onmicrosoft.com
IT-Group, IT-Group@BigCompany.com
Calendly-users, calendly.comactivityhub-room4@MyCompany.onmicrosoft.com
All-Employees Teams, All.Team@MyParentCompany.com
Thank you, in advance.
Sign in to answer