How to add bulk users to MS Teams from CSV file using PowerShell

Published: 22 August 2022
on channel: TechTrip
5k
20

Hi everyone,
In this video, I will show how to add users to MS Teams using PowerShell and a CSV file.
You can always add users to a TEAM from the TEAMS admin page or
You can use a CSV file. It is totally up to you. It depends on which way makes more sense to you.

How to get a List of TEAMS:
Get-Team

How to get the Group ID of a TEAM:
Get-Team | Where {$_.DisplayName -eq "Learning Portal"} | Select -ExpandProperty GroupID

How to import the CSV file:
Import-Csv -Path "YOUR_FILE_PATH" | foreach{Add-TeamUser -GroupId YOUR_TEAM_ID -user $_.email}

Connect to MS Teams Admin Center using PowerShell



Watch video How to add bulk users to MS Teams from CSV file using PowerShell online without registration, duration 05 minute 19 second in high hd quality. This video was added by user TechTrip 22 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5 thousand once and liked it 2 people.