Skip to content

4. Add Channels To Team

Marita Fitzgerald edited this page Jun 12, 2021 · 4 revisions

About this script

This script will bulk add private Channels to your team from a csv file. The csv file just needs to have one field/attribute called ChannelName, I have included a sample csv.
Sample csv

Where to put csv?

In the same directory as the script

What do I need to change in this script?

You will need to add your Teams GroupId (See getting started) You will need to change the name and path of the csv file to match yours
Variables

How do I run this script

The easiest way is to open the file in Powershell ISE (See getting started). Once you have set your own group and file variables just press the green arrow you can see in the image above.

Clone this wiki locally