Adding new Teams in Microsoft Teams using Powershell

Description:

This script is used to add new teams in Microsoft Teams using powershell and CSV file.

Required Columns in CSV file:

-DisplayName: Name of the Team

Script:

Install-Module -Name MicrosoftTeams

Connect-MicrosoftTeams

Import-Csv -Path "C:\Users\awais\OneDrive - Communication Square\Desktop\teams.csv" | foreach{New-Team -DisplayName $_.Team -Owner $_.Owner -Visibility $_.TeamVisibility}

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us