Skip to Content
Communication Square LLC Help Center

Adding Channels to Microsoft TeamsUsing CSV

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 multiple Channels in the Teams at once.

For Example: 

You need to add multiple Channels in Marketing Team

To achieve this you need to create a CSV file which contain 2 columns

-GroupID: This is the ID of the Team where you want to add channels

-DisplayName: This is the name of the channel i.e. Budget

Script:

Install-Module -Name MicrosoftTeams

Connect-MicrosoftTeams

Import-Csv -Path "C:\Users\TV\Desktop\Channels.csv" | foreach

{

New-TeamChannel -GroupId $_.GroupID -DisplayName $_.DisplayName

}

Last updated on