Create Multiple Microsoft Teams, Teams Using PowerShell

In this blog post, I will show you how to create multiple Microsoft Teams, Teams using PowerShell and a CSV file.

Before, you start, make sure you have the latest Microsoft Teams PowerShell module or the Beta module.

CSV

Below is the CSV file I am using.

In my example, I am creating three new Teams, but you can add as many as you like.

Note: To add users to the Teams; please refer to this blog post.

Create Teams

To create, the teams, I will connect to Microsoft Teams using PowerShell and run the following cmdlet.

Import-csv new_teams.csv | foreach{New-Team -DisplayName $_.team -Visibility $_.type}

To view, all Teams run the following cmdlet.

Get-Team

Processing…
Success! You're on the list.

Posted

in

by