Skip to Content
Communication Square LLC Help Center

Adding new Teams in Microsoft Teams using Powershell

Written October 2020. Microsoft changes these admin screens often, so the screenshots below may not match what you see today. The sequence of steps is usually still correct — if something looks wrong, tell us and we'll update it.

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}

Last updated on